ArgError
Module | ejs |
Definition | dynamic class ArgError |
Inheritance | ArgError ![]() ![]() |
Specified | ejscript-1.1 |
Stability | Evolving. |
Arguments error exception class.
Thrown the arguments cannot be cast to the required type or in strict mode if there are too few or too many arguments.
Properties
Qualifiers | Property | Type | Description |
---|---|---|---|
No properties defined |
ArgError Methods
Qualifiers | Method |
---|---|
ArgError(message: String = null) | |
ArgError constructor. |
Method Detail
public ArgError(message: String = null)
ArgError constructor.
- Parameters
message: String Message to use when defining the Error.message property. [default: null]