Class GCNError
Defined in: core.js.
Constructor Attributes | Constructor Name and Description |
---|---|
GCNError(code, message, data)
GCN JS API error object.
|
Method Attributes | Method Name and Description |
---|---|
toString()
Returns a human-readable representation of this error object.
|
Class Detail
GCNError(code, message, data)
GCN JS API error object. This is the object passed to error handlers.
- Parameters:
- {string} code
- error code for the error
- {string} message
- descriptive error message
- {object} data
- additional data
Method Detail
{string} toString()
Returns a human-readable representation of this error object.
- Returns:
- {string}