Titanium.ErrorResponse
Properties used in any event or callback which needs to report a success or failure.
Properties #
code#
Type: Number
Error code. Returns 0 if success is true.
Error code will be 0 if success is true, nonzero otherwise. If the error
was generated by the operating system, that system's error value is used.
Otherwise, this value will be -1.
success#
Type: Boolean
Indicates if the operation succeeded.
Returns true if request succeeded, false otherwise.