mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-10-02 08:07:40 -05:00
Move app to apps/web-react in pnpm workspace layout
This commit is contained in:
20
apps/web-react/app/utils/errors.ts
Normal file
20
apps/web-react/app/utils/errors.ts
Normal file
@@ -0,0 +1,20 @@
|
||||
export class LimitReachedError extends Error {
|
||||
constructor(message: string) {
|
||||
super(message);
|
||||
this.name = "LimitReachedError";
|
||||
}
|
||||
}
|
||||
|
||||
export class ConcurrentModificationError extends Error {
|
||||
constructor(message: string) {
|
||||
super(message);
|
||||
this.name = "ConcurrentModificationError";
|
||||
}
|
||||
}
|
||||
|
||||
export class DuplicateEntryError extends Error {
|
||||
constructor(message: string) {
|
||||
super(message);
|
||||
this.name = "DuplicateEntryError";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user