mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-07-30 15:53:59 -05:00
21 lines
437 B
TypeScript
21 lines
437 B
TypeScript
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";
|
|
}
|
|
}
|