From ac11a804bdacba58184c5feb4d308665379fd5e5 Mon Sep 17 00:00:00 2001 From: Joel Jacob Stephen <70131076+JoelJacobStephen@users.noreply.github.com> Date: Mon, 26 Feb 2024 10:42:52 +0530 Subject: [PATCH] chore: removed unused error types --- .../hoppscotch-sh-admin/src/helpers/errors.ts | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/packages/hoppscotch-sh-admin/src/helpers/errors.ts b/packages/hoppscotch-sh-admin/src/helpers/errors.ts index f66559ea3..5473ec528 100644 --- a/packages/hoppscotch-sh-admin/src/helpers/errors.ts +++ b/packages/hoppscotch-sh-admin/src/helpers/errors.ts @@ -7,21 +7,3 @@ export const UNAUTHORIZED = 'Unauthorized' as const; // Sometimes the backend returns Unauthorized error message as follows: export const GRAPHQL_UNAUTHORIZED = '[GraphQL] Unauthorized' as const; - -/** - * Email not found - */ -export const EMAIL_NOT_FOUND = 'email/not_found'; - -/** - * Request Failed - */ -export const REQ_FAILED = 'request/failed'; - -export const INVALID_EMAIL = 'invalid/email' as const; - -/** - * Subscriber already exists - * (NewsletterService) - */ -export const SUBSCRIBER_ALREADY_EXISTS = 'newsletter/subscriber_already_exists';