public constructor(message?: string) {
super(message);
this.name = new.target.name;
Object.setPrototypeOf(this, new.target.prototype);
public constructor(message?: string) {
super(message);
this.name = new.target.name;
Object.setPrototypeOf(this, new.target.prototype);