7 lines
135 B
TypeScript
7 lines
135 B
TypeScript
export class NotFoundError extends Error {
|
|
constructor(message: string) {
|
|
super(message);
|
|
this.name = "NotFoundError";
|
|
}
|
|
}
|