FIX: exceeding Notes limit should be a 401 not 500
This commit is contained in:
6
lib/services/errors.ts
Normal file
6
lib/services/errors.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
export class AccountLimitError extends Error {
|
||||
constructor(message: string) {
|
||||
super(message);
|
||||
Object.setPrototypeOf(this, AccountLimitError.prototype);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user