TypeError
Module | ejs |
Definition | dynamic class TypeError |
Inheritance | TypeError ![]() ![]() |
Stability | Evolving. |
Type error exception class.
Thrown when a type casting or creation operation fails, e.g. when an operand cannot be cast to a type that allows completion of a statement or when a type cannot be found for object creation or when an object cannot be instantiated given the values passed into "new".
Properties
Qualifiers | Property | Type | Description |
---|---|---|---|
No properties defined |
TypeError Methods
Qualifiers | Method |
---|---|
TypeError(message: String = null) | |
TypeError constructor. |
Method Detail
public TypeError(message: String = null)
TypeError constructor.
- Parameters
message: String Message to use when defining the Error.message property. [default: null]