SuccessResponse
> SuccessResponse

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

  • 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

SuccessResponse
: Number
Error code. ...

Error code. Returns 0.

Error code will be 0.

Overrides: ErrorResponse.code

SuccessResponse
error : String

Error message, if any returned.

Error message, if any returned.

Will be undefined.

Overrides: ErrorResponse.error

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

Indicates if the operation succeeded. Returns true.

Returns true.

Overrides: ErrorResponse.success