Options to construct the error

interface AbstractClassErrorOptions {
    baseClass: any;
    derivedClass?: any;
    kind: "constructor" | "abstractMethod";
    method?: any;
}

Properties

baseClass: any

The base abstract class

derivedClass?: any

The derived class. Only used when building an error for an abstract method.

kind: "constructor" | "abstractMethod"

Whether the error is being thrown by an abstract constructor or method

method?: any

The method that is not implemented. Only used when building an error for an abstract method.