ResourceError
Hierarchy
- NodeError
- ResourceError
Index
Constructors
Properties
Constructors
constructor
Parameters
message: string
The error message.
resource: typeof AResource | UnknownResource
The resource the error is about.
Returns ResourceError
The error message.
The resource the error is about.
Thrown when a resource is used in a way its own rules forbid, e.g. an invalid resource ID.
Errors/Node