ModelError
Hierarchy
- NodeError
- ModelError
Index
Constructors
Properties
Constructors
constructor
Parameters
message: string
The error message.
model: UnknownModel
The model the error is about.
Returns ModelError
Properties
readonlyinheritednode
The context of the node.
Thrown when a model is used in a way its own rules forbid, e.g. adding a child that already exists.
Errors/Node
When a model is given a child, anchor or member it already has.
When models are joined that their rules keep apart, such as an environment and a subnet in different regions.