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