Errors: Add AlreadyInDB and PermissionsUpdateInconsistent error

Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
Philip Molares 2021-02-20 16:07:09 +01:00 committed by David Mehren
parent b1683a5c64
commit ff61fea96f
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3

View file

@ -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';
}