class staticbo.shared. ModelError
Source: shared/
Represents a model error.
new ModelError([message][, ...messageParams])
Creates a model 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