chore: removed unused error types

This commit is contained in:
Joel Jacob Stephen
2024-02-26 10:42:52 +05:30
parent 25d8c28e4f
commit ac11a804bd

View File

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