Ample SDK exceptions.
The following table lists the members exposed by the AmpleException object.
|
Show:
|
Property |
Type |
Readonly |
Description |
code |
Number |
true |
An integer indicating the type of error generated. |
message |
String |
true |
An exception message. |
Method |
Returns |
Description |
Event |
B |
C |
Interface |
Description |
Constant |
Value |
Description |
ARGUMENT_MISSING_ERR |
1 |
Missing required argument from a function call. |
ARGUMENT_WRONG_TYPE_ERR |
2 |
Incompatible type of argument in a function call. |
ARGUMENT_NULL_ERR |
3 |
null is not allowed value of argument in a function call. |
NOT_INITIALIZED_ERR |
4 |
Object has not been initialized. |
CANNOT_ACCESS_DOM_ERR |
5 |
Access to DOM in element constructor not allowed. |
MEMBER_MISSING_ERR |
6 |
Object does not have a member required. |
|