16 lines
1.2 KiB
Go
16 lines
1.2 KiB
Go
package apperr
|
|
|
|
const LogsErrorMessage = "Access to the requested resource is forbidden due to incorrect password and/or username."
|
|
const BodyErrorMessage = "The request cannot be processed due to a mismatch in the format of the body."
|
|
const IdUint32ErrorMessage = "The server expects the ID to be in the format of an unsigned 32-bit integer (uint32)."
|
|
const ArticleNotFoundErrorMessage = "Article not found"
|
|
const ArticleTitleErrorMessage = "Article title must be between 3 and 200 characters."
|
|
const RegistrationClosedErrorMessage = "You are not allowed to create a user. Log in or reset database."
|
|
const RegistrationFailedErrorMessage = "Registration failed. Please try again later."
|
|
const UnauthorizedErrorMessage = "You must be logged in to access this resource."
|
|
const VerificationFailedErrorMessage = "The verification code is invalid or has expired."
|
|
const AlreadyVerifiedErrorMessage = "This account is already verified and cannot be cancelled this way."
|
|
const VerificationRequiredErrorMessage = "You must verify your account to access this resource."
|
|
const PasswordResetRequestedMessage = "If an account exists for that email, a password reset link has been sent."
|
|
const PasswordResetFailedErrorMessage = "The password reset code is invalid or has expired."
|