From 7dd4f97d64a056f15ffe2e987169767898bf5695 Mon Sep 17 00:00:00 2001 From: Philip Molares Date: Sat, 7 Aug 2021 21:52:00 +0200 Subject: [PATCH] chore: add PrimaryAliasDeletionForbiddenError Signed-off-by: Philip Molares --- src/errors/errors.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/errors/errors.ts b/src/errors/errors.ts index 229f08c84..a42b6e31d 100644 --- a/src/errors/errors.ts +++ b/src/errors/errors.ts @@ -39,3 +39,7 @@ export class PermissionsUpdateInconsistentError extends Error { export class MediaBackendError extends Error { name = 'MediaBackendError'; } + +export class PrimaryAliasDeletionForbiddenError extends Error { + name = 'PrimaryAliasDeletionForbiddenError'; +}