new ManagedError(code, message)
Error class used by the API in exceptions and callbacks
Parameters:
Name | Type | Argument | Default | Description |
---|---|---|---|---|
code |
number |
<optional> |
ErrorCode.GeneralError | an error code |
message |
string |
<optional> |
"" | an error description |
- Source:
Properties:
Name | Type | Description |
---|---|---|
number |
LiveSupport.VisitorAPI.ErrorCode | The numeric error code. |
message |
string | The description of the error. |
Extends
- Error