Skip to main content

DecoratorTargetError

Thrown when a decorator is placed on, or declared for, a class of the wrong kind.

@group

Errors/Decorator

@throws

When a class does not extend the base class its decorator requires.

@throws

When an action is declared for a class that is not a model, overlay or resource.

Hierarchy

Index

Constructors

Properties

Constructors

constructor

  • Parameters

    • message: string

      The error message.

    • className: string

      The class of the wrong kind.

    Returns DecoratorTargetError

Properties

readonlyinheritedclassName

className: string

The name of the decorated class.

Page Options