Skip to main content

OverlayError

Thrown when an overlay is used in a way its own rules forbid.

@group

Errors/Node

@throws

When an overlay is added twice, or something that is not an overlay is added as one.

@throws

When an overlay's anchor is held by no model, or the overlay belongs to no module.

Hierarchy

Index

Constructors

Properties

Constructors

constructor

  • OverlayError(message: string, overlay: UnknownOverlay): OverlayError
  • Parameters

    • message: string

      The error message.

    • overlay: UnknownOverlay

      The overlay the error is about.

    Returns OverlayError

Properties

readonlyinheritednode

node: string

The context of the node.

Page Options