FailureResponse
> FailureResponse

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

  • 0.8
  • 0.8
  • 0.8

NOTE This is an abstract type. Any object meeting this description can be used where this type is used.

Defined By

Properties

FailureResponse
: Number
Error code. ...

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.

Overrides: ErrorResponse.code

FailureResponse
error : String

Error message, if any returned.

Error message, if any returned.

May be undefined.

Overrides: ErrorResponse.error

FailureResponse
: Boolean
Indicates if the operation succeeded. ...

Indicates if the operation succeeded. Returns false.

Returns false.

Overrides: ErrorResponse.success