Class atropa.customErrors.InvalidArgumentTypesError
Version
20130221.
Invalid Argument Types Error
Defined in: <node_modules/atropa-customErrors/src/atropa-customErrors.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
Invalid Argument Types Error
|
Field Attributes | Field Name and Description |
---|---|
The error message to send.
|
|
The name of the error.
|
Class Detail
atropa.customErrors.InvalidArgumentTypesError(message)
- Parameters:
- {String} message
- Optional. The error message to send. Defaults to
InvalidArgumentTypesError
- Returns:
- {Error} Returns an instance of the InvalidArgumentTypesError
Field Detail
message
The error message to send.
- Default Value:
- "InvalidArgumentTypesError"
name
The name of the error. Tells the user what kind of custom
error has been thrown.
- Default Value:
- "atropa.customErrors.InvalidArgumentTypesError"