class staticbo.system. EnumerationError
Source: system/
Represents an enumeration error.
new EnumerationError([message][, ...messageParams])
Creates an enumeration error object.
Parameters
Name | Type | Optional | Description |
---|---|---|---|
message |
string |
Yes |
Human-readable description of the error. |
messageParams |
any type |
Yes |
Optional interpolation parameters of the message. Value can be repeated. |
- Extends
- Error
- See also
- Error for further information.
Properties
message string
Human-readable description of the error.
name string
The name of the error type.
- Default value