[MINC-development] MINC2 API error handling
Andrew Janke
a.janke at gmail.com
Tue Dec 11 17:18:54 EST 2012
On 12 December 2012 08:10, Vladimir S. FONOV <vladimir.fonov at gmail.com> wrote:
> so, that would require putting macros like
> MI_SAVE_ROUTINE_NAME/MI_RETURN_ERROR/MI_LOG_PKG_ERROR2 in all minc2 api
> functions?
Well while that might be ideal, I think we could just assume that
whoever is writing the error messages is going to make them
informative! :)
We could always just use things like __FILE__ and __LINE__ in the
error message itself.
a
More information about the MINC-development
mailing list