Skip to main content

ModelError

Thrown when a model is used in a way its own rules forbid, e.g. adding a child that already exists.

@group

Errors/Node

Hierarchy

Index

Constructors

Properties

Constructors

constructor

  • ModelError(message: string, model: UnknownModel): ModelError
  • Parameters

    • message: string

      The error message.

    • model: UnknownModel

      The model the error is about.

    Returns ModelError

Properties

readonlyinheritednode

node: string
Page Options