mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-25 22:21:26 +10:00
refactor(v4.0.0-alpha): beginning of a new era
This commit is contained in:
32
apps/server/src/constants/error-message.ts
Normal file
32
apps/server/src/constants/error-message.ts
Normal file
@ -0,0 +1,32 @@
|
||||
export const ErrorMessage = {
|
||||
InvalidCredentials: "It doesn't look like a user exists with the credentials you provided.",
|
||||
UserAlreadyExists: "A user with this email address and/or username already exists.",
|
||||
SecretsNotFound:
|
||||
'User does not have an associated "secrets" record. Please report this issue on GitHub.',
|
||||
OAuthUser:
|
||||
"This email address is associated with an OAuth account. Please sign in with your OAuth provider.",
|
||||
InvalidResetToken:
|
||||
"It looks like the reset token you provided is invalid. Please try restarting the password reset process again.",
|
||||
InvalidVerificationToken:
|
||||
"It looks like the verification token you provided is invalid. Please try restarting the verification process again.",
|
||||
EmailAlreadyVerified: "It looks like your email address has already been verified.",
|
||||
TwoFactorNotEnabled: "Two-factor authentication is not enabled for this account.",
|
||||
TwoFactorAlreadyEnabled: "Two-factor authentication is already enabled for this account.",
|
||||
InvalidTwoFactorCode:
|
||||
"It looks like the two-factor authentication code you provided is invalid. Please try again.",
|
||||
InvalidTwoFactorBackupCode:
|
||||
"It looks like the backup code you provided is invalid or used. Please try again.",
|
||||
InvalidBrowserConnection:
|
||||
"There was an error connecting to the browser. Please make sure `chrome` is running and reachable.",
|
||||
ResumeSlugAlreadyExists:
|
||||
"A resume with this slug already exists, please pick a different unique identifier.",
|
||||
ResumeNotFound: "It looks like the resume you're looking for doesn't exist.",
|
||||
ResumePrinterError:
|
||||
"Something went wrong while printing your resume. Please try again later or raise an issue on GitHub.",
|
||||
ResumePreviewError:
|
||||
"Something went wrong while grabbing a preview your resume. Please try again later or raise an issue on GitHub.",
|
||||
SomethingWentWrong:
|
||||
"Something went wrong while processing your request. Please try again later or raise an issue on GitHub.",
|
||||
} as const;
|
||||
|
||||
export type ErrorMessage = typeof ErrorMessage;
|
||||
27698
apps/server/src/constants/webfonts.json
Normal file
27698
apps/server/src/constants/webfonts.json
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user