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