mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-27 22:21:26 +00:00
Errors: Add AlreadyInDB and PermissionsUpdateInconsistent error
Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
parent
b1683a5c64
commit
ff61fea96f
1 changed files with 8 additions and 0 deletions
|
@ -8,6 +8,10 @@ export class NotInDBError extends Error {
|
|||
name = 'NotInDBError';
|
||||
}
|
||||
|
||||
export class AlreadyInDBError extends Error {
|
||||
name = 'AlreadyInDBError';
|
||||
}
|
||||
|
||||
export class ClientError extends Error {
|
||||
name = 'ClientError';
|
||||
}
|
||||
|
@ -23,3 +27,7 @@ export class TokenNotValidError extends Error {
|
|||
export class TooManyTokensError extends Error {
|
||||
name = 'TooManyTokensError';
|
||||
}
|
||||
|
||||
export class PermissionsUpdateInconsistentError extends Error {
|
||||
name = 'PermissionsUpdateInconsistentError';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue