mirror of
https://github.com/fallenbagel/jellyseerr.git
synced 2025-12-24 02:39:18 -05:00
When the email is modified in the user settings and it is already taken by someone else, a generic message saying that something wrong happened, without saying that it is because the email is already taken by another user. This PR adds this error message for the email.
11 lines
341 B
TypeScript
11 lines
341 B
TypeScript
export enum ApiErrorCode {
|
|
InvalidUrl = 'INVALID_URL',
|
|
InvalidCredentials = 'INVALID_CREDENTIALS',
|
|
InvalidAuthToken = 'INVALID_AUTH_TOKEN',
|
|
InvalidEmail = 'INVALID_EMAIL',
|
|
NotAdmin = 'NOT_ADMIN',
|
|
SyncErrorGroupedFolders = 'SYNC_ERROR_GROUPED_FOLDERS',
|
|
SyncErrorNoLibraries = 'SYNC_ERROR_NO_LIBRARIES',
|
|
Unknown = 'UNKNOWN',
|
|
}
|