All events conforming to an error protocol type have the following properties:
- success: boolean: True if the command was successful, otherwise false.
- code: integer: 0 if the command was successful, otherwise an internal value. If the OS does not provide one, this will be -1.
- error: optional string: undefined if the command was successful, otherwise a concatenation of the localized String and userinfo's message if it exists.
Sub, sub task of https://jira.appcelerator.org/browse/TIMOB-10376
Values derived from analysis at https://wiki.appcelerator.org/display/pe/Event+property+catalog
Take a look at changes made in https://jira.appcelerator.org/browse/TIMOB-12610 for hints on what will need changing for consistency and parity.