Flash Magic Forum

General => Feature Requests => Topic started by: Ivan001 on July 24, 2011, 02:10:58 PM

Title: Error codes in the APIs
Post by: Ivan001 on July 24, 2011, 02:10:58 PM
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.
Title: Re: Error codes in the APIs
Post by: Andy Ayre on July 25, 2011, 12:53:49 AM
Yes, that is definitely an area that needs improvement. Thanks for the suggestion.

Andy