Variable: VALIDATION_ERRORS
const
VALIDATION_ERRORS: {EMAIL_INVALID
:"Email format is invalid"
;FIELD_INVALID_FORMAT
:"Field format is invalid"
;FIELD_REQUIRED
:"This field is required"
;HOST_INVALID
:"Host address is invalid"
;PORT_INVALID
:"Port number must be between 1 and 65535"
;STRING_TOO_LONG
:"Value exceeds maximum length"
;STRING_TOO_SHORT
:"Value is below minimum length"
;URL_INVALID
:"URL format is invalid"
;VALIDATION_FAILED
:"Validation failed"
;VALUE_OUT_OF_RANGE
:"Value is out of allowed range"
; }
Defined in: shared/utils/errorCatalog.ts:125
Validation-related error messages.
Type Declarationโ
EMAIL_INVALIDโ
readonly
EMAIL_INVALID:"Email format is invalid"
="Email format is invalid"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when email format is invalid
FIELD_INVALID_FORMATโ
readonly
FIELD_INVALID_FORMAT:"Field format is invalid"
="Field format is invalid"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when field format is invalid
FIELD_REQUIREDโ
readonly
FIELD_REQUIRED:"This field is required"
="This field is required"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when required field is missing
HOST_INVALIDโ
readonly
HOST_INVALID:"Host address is invalid"
="Host address is invalid"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when host address is invalid
PORT_INVALIDโ
readonly
PORT_INVALID:"Port number must be between 1 and 65535"
="Port number must be between 1 and 65535"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when port number is invalid
STRING_TOO_LONGโ
readonly
STRING_TOO_LONG:"Value exceeds maximum length"
="Value exceeds maximum length"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when string length exceeds maximum
STRING_TOO_SHORTโ
readonly
STRING_TOO_SHORT:"Value is below minimum length"
="Value is below minimum length"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when string length is below minimum
URL_INVALIDโ
readonly
URL_INVALID:"URL format is invalid"
="URL format is invalid"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when URL format is invalid
VALIDATION_FAILEDโ
readonly
VALIDATION_FAILED:"Validation failed"
="Validation failed"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when validation fails for an event
VALUE_OUT_OF_RANGEโ
readonly
VALUE_OUT_OF_RANGE:"Value is out of allowed range"
="Value is out of allowed range"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when value is out of allowed range
Remarksโ
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error messages for data validation, constraint violations, and input validation errors.