Error codes in the APIs

Started by Ivan001, July 24, 2011, 02:10:58 PM

Previous topic - Next topic

Ivan001

The FMExceptions just provide an error string which in most cases isn't appropriate for displaying to a user. My code currently checks for substrings in this and displays a more appropriate user error message but this is less than optimal and will break if you ever change the error string.

It would be good if you could provide error codes in addition to the strings.

Andy Ayre

Yes, that is definitely an area that needs improvement. Thanks for the suggestion.

Andy
Embedded Systems Academy, Inc.
support at esacademy dot com