Skip to main content

NodeError

Parent error class for all node errors.

@group

Errors/Node

@throws

When an anchor is added twice, or a child is added to a read-only node.

@throws

When a dependency loop is found, or one child is asked for where several exist.

@throws

When a kind is both a model's and an overlay's, which rules cannot tell apart.

Hierarchy

Index

Constructors

Properties

Constructors

constructor

  • NodeError(message: string, node: typeof ANode | typeof AResource | UnknownNode): NodeError
  • Parameters

    • message: string

      The error message.

    • node: typeof ANode | typeof AResource | UnknownNode

      The node the error is about.

    Returns NodeError

Properties

readonlynode

node: string

The context of the node.

Page Options