Constructor
new ServerError(errorCode, errorMessage, detailMessage)
Create a ServerError.
Parameters:
Name | Type | Description |
---|---|---|
errorCode |
string | Code of error. |
errorMessage |
string | Message of error. |
detailMessage |
string | Detail message of error. |
Methods
(static) fromJson(obj) → {ServerError}
This method is for internal use only.
Parameters:
Name | Type | Description |
---|---|---|
obj |
JSON object that represented a ServerError. |
Returns:
ServerError instance
- Type
- ServerError