All files / src/utils errorMessages.ts

100% Statements 1/1
100% Branches 0/0
100% Functions 0/0
100% Lines 1/1

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72      1x                                                                                                                                        
 
 
 
export default {
    invalidUserCredentials: 'Invalid user credentials',
    userNotFound: "User not found!",
    passwordInvalidContent: "Password must have a minimum length of 8 characters containing at least one number, an uppercase, and a special character",
    passwordOldPasswordIsSame: "Old password and new password cannot be the same",
    mailInvalidContent: 'Invalid email format',
    phoneInvalidContent: "Please enter valid phone number",
    confirmPasswordMsg: "Passwords must match",
    passwordIsMissing: "Password field is missing",
    confirmPasswordIsMissing: "confirmPassword field is missing",
    phoneNumberAssignedToLead: "Your Phone Number is set as preferred contact in your lead",
    emailAlreadyExist: "This email id is registered with another account",
    emailNotRegistered: "Email is not registered",
    authorizationMissing: 'Authorization is missing',
    notBearer: "Authorization header is not type of Bearer",
    notBearerType: "Authorization header has too many part is must follow this patter 'Bearer xx.yy.zz",
    paymentNotCompleted: "Payment is not completed, please retry",
    leadUIDIsMissing: "Lead UID is missing. Please refresh the page and try again",
    leadNotFound: "Lead is not found",
    domainNameIsMissing: "domainName key is mandatory",
    UIDIsMissing: "UID is required",
    EbookMaxDownloadMsg: "You have downloaded E-book two times already",
    notAuthorizedMsg: "You are not authorized to access this page",
    userAlreadyExist: "User already exists, please login!",
    registrarAlreadyExist: "User already exists, please login!",
    commentFieldIsEmpty: "Comment field is empty!",
    fieldIsEmpty: "Field is empty",
    userUIDIsMissing: "userUID is missing",
    OTPIsMissing: 'Please enter OTP!',
    requiredFieldIsMissing: 'Required field is missing!',
    OTPExpired: 'OTP Expired!',
    registrarUIDIsMissing: "Registrar UID is missing",
    permissionDenied: "Permission denied!",
    fieldsMissingMessage: "Fields are missing",
    payloadEmpty: "Payload is empty",
    invalidEntry: "Invalid entry",
    errorParsingData: "Error in parsing request",
    enterPhoneNumber: "Please enter phone number",
    imageOnlyError: "Please upload only .jpg, .jpeg, .png type files",
    requestBodyIsInvalid: "The request body is invalid",
    inValidImageType: "Invalid image input",
    registrarUIDNotFound: "Registrar UID is not found!",
    unknownInputField: "Unknown input field",
    unexpectedPayloadInput: "Unexpected input field",
    somethingWentWrong: "Something went wrong!",
    userProfileMissingInJWT: "Error while generating token :userProfile is null",
    generatingToken: "error generating token",
    errorVerifyingToken: "Error verifying token",
    tokenNotValid: "Token is not valid!",
    inputValueIsTooLong: "Input value is too long",
    emptyEmail: "Email field should not be empty",
    errorInSendingMailTo: "Error in sending mail to",
    invalidDomainName: "The domain name you looking for is not a valid one",
    invalidDateFormat: "Invalid date format",
    entryNotFound: "Entry not found",
    dataNotFound: "Data not found",
    dataAlreadyExist: "Data already exist ",
    noSuchPaymentMethod: "No such PaymentMethod",
    promoCodeExpired: "Promo code is expired",
    promoCodeIsNotValid: "Promo code invalid",
    promoCodeIsUsed: "Promo is code already used",
    alreadyPaid: "Payment already done",
    invalidEmail: "Email is not valid, Please enter valid email address",
    promoUsedBySameUser: "You have used this promo code already",
    invalidRoleID: "Role Id is invalid",
    opportunityError: "Failed to create a opportunity, Please contact admin"
}