diff --git a/src/errors/errors.ts b/src/errors/errors.ts index aaef8afc3..229f08c84 100644 --- a/src/errors/errors.ts +++ b/src/errors/errors.ts @@ -12,6 +12,10 @@ export class AlreadyInDBError extends Error { name = 'AlreadyInDBError'; } +export class ForbiddenIdError extends Error { + name = 'ForbiddenIdError'; +} + export class ClientError extends Error { name = 'ClientError'; }