Options
All
  • Public
  • Public/Protected
  • All
Menu

Class IncorrectDecoratorType

An error that is applied when an accessor decorator is applied to a function.

Hierarchy

  • Error
    • IncorrectDecoratorType

Index

Constructors

Properties

Constructors

constructor

  • new IncorrectDecoratorType(message: string, context: any, property: string, decorator: string): IncorrectDecoratorType
  • Parameters

    • message: string

      the error message to dispaly

    • context: any

      the class that the decorator was applied to

    • property: string

      the property that the decorator was applied to

    • decorator: string

      the name of the decorator.

    Returns IncorrectDecoratorType

Properties

message

message: string

name

name: string

Optional stack

stack: string

Static Error

Error: ErrorConstructor

Generated using TypeDoc