export class IllegalArgumentError extends Error { public constructor(message?: string) { super(message); Object.setPrototypeOf(this, new.target.prototype); } }