Skip to content

Instantly share code, notes, and snippets.

@haigopi
Created March 10, 2019 19:49
Show Gist options
  • Save haigopi/d96249cb9522ce745ea5ff39a5dab5bc to your computer and use it in GitHub Desktop.
Save haigopi/d96249cb9522ce745ea5ff39a5dab5bc to your computer and use it in GitHub Desktop.
errorCodes:
codeDescription:
application:
NULL_EMPTY_CHECK: 101 | Application details cannot be Empty
"[application.applicationType]":
NULL_EMPTY_CHECK: 102 | Applicant Type is either Empty or Invalid
REGEXPR_CHECK: '(?i)^(MONSTER|LINKEDIN)$ --- 102 --- Applicant Type is Invalid'
"[application.applicant]":
NULL_EMPTY_CHECK: 103 | Applicant cannot be Empty
"[application.applicant.ssn]":
NULL_EMPTY_CHECK: 104 | Applicant SSN cannot be Empty
LENGTH_CHECK: 9 | 104 | Applicant SSN should be exactly 9 digits, like ssn
"[application.applicant.fullName]":
NULL_EMPTY_CHECK: 105 | Applicant Name cannot be Empty
"[application.applicant.fullName.firstName]":
NULL_EMPTY_CHECK: 106 | Applicant first name is Empty or Invalid
"[application.applicant.fullName.lastName]":
NULL_EMPTY_CHECK: 107 | Applicant last name is Empty or Invalid
"[application.applicant.dateOfBirth]":
NULL_EMPTY_CHECK: 108 | Applicant dateOfBirth is either Empty or Invalid
REGEXPR_CHECK: '^\d{4}[-]?\d{2}[-]?\d{2}$ --- 108 --- Applicant dateOfBirth is either Empty or Invalid'
"[application.applicant.phoneNumbers]":
NULL_EMPTY_CHECK: 109 | Applicant 'phoneNumbers' section cannot be Empty
"[application.applicant.addresses.currentAddress.address.city]":
NULL_EMPTY_CHECK: 122 | Applicant currentAddress 'city' is either Empty or Invalid
"[application.applicant.phoneNumbers.primary.phoneNumberType]":
NULL_EMPTY_CHECK: 212 | Applicant 'telephone number type' cannot be Empty
"[application.applicant.employments]":
NULL_EMPTY_CHECK: 225 | Applicant 'Employment' section cannot be Empty
"[application.applicant.employments.currentStatus]":
NULL_EMPTY_CHECK: 226 | Applicant 'Employment current status' cannot be Empty
when:
"[application.applicationType]":
REGEXPR_CHECK: '(?i)^(LINKEDIN)$ --- IGNORE_ACTION --- application.applicant --- 203'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment