Details
-
Type:
Story
-
Status: Closed
-
Priority:
High
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: Release 3.1.0, 2013 Sprint 04 API, 2013 Sprint 04
-
Component/s: iOS
-
Labels:None
Description
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
Attachments
Issue Links
- is cloned into
-
TIMOB-12610 DOC: Standardize error reporting in callbacks and events
-
- Closed
-
-
TIMOB-12651 Android: Standardize error reporting in callbacks and events
-
- Closed
-
- relates to
-
TIMOB-10376 TiAPI: event system: Event contents
-
- Open
-