AbstractMethod extends Error and it is intended to be used inside those methods that are considered abstract. Abstract methods are methods that needs to be implemented in a sub-class.

The error message brings the class name/method name that is abstract.

function abstractMethod() {
throw new AbstractMethod();
}

Constructor

new (?posInfo:PosInfos)

Inherited Variables

Defined by Error

read onlypos:PosInfos

The location in code where the error has been instantiated.

read onlystackItems:Array<StackItem>

The collected error stack.

Inherited Methods

Defined by Error

getPosition ():String

stackToString ():String

toString ():String