DecoratorTargetError
Hierarchy
- DecoratorError
- DecoratorTargetError
Index
Constructors
Properties
Constructors
constructor
Parameters
message: string
The error message.
className: string
The class of the wrong kind.
Returns DecoratorTargetError
Properties
readonlyinheritedclassName
The name of the decorated class.
Thrown when a decorator is placed on, or declared for, a class of the wrong kind.
Errors/Decorator
When a class does not extend the base class its decorator requires.
When an action is declared for a class that is not a model, overlay or resource.