# FailureResponse

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

Availability
0.8
0.8
9.2.0
Extends

NOTE

This is an abstract type. Any object of this structure can be used where this type is used.

# Properties

# code

Availability
0.8
0.8
9.2.0
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

Availability
0.8
0.8
9.2.0
error :String

Error message, if any returned.

May be undefined.


# success

Availability
0.8
0.8
9.2.0
success :Boolean

Indicates if the operation succeeded. Returns false.

Returns false.