Skip to content
Titanium SDK
unreleased
Versionmainunreleased

FailureResponse

pseudoAndroidiPhoneiPadmacOS

Extends ErrorResponse

Extended by ErrorCallbackArgs

Properties used in any event or callback which needs to report a failure.

Properties 3

code

Number

Error code. Returns a non-zero value.

If the error was generated by the operating system, that system's error value is used. Otherwise, this value will be -1.

error

String

Error message, if any returned.

May be undefined.

success

Boolean

Indicates if the operation succeeded. Returns false.

Returns false.