SkygearError class
Skygear API error.
Signature:
export declare class SkygearError extends Error
Remarks
All Skygear APIs (e.g. Auth, Asset) functions would throw errors of this type if server returns failure.
Constructors
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(message, name, reason, info) | Constructs a new instance of the SkygearError class |
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| info | JSONObject | Additional error information. | |
| message | string | Error message. | |
| name | string | Error name. | |
| reason | string | Error reason. |