minesweeper/backend/errors/UnauthorizedError.ts

7 lines
143 B
TypeScript

export class UnauthorizedError extends Error {
constructor(message: string) {
super(message);
this.name = "UnauthorizedError";
}
}