ErrLookup › validatorjs/validator.js
validatorjs/validator.js
String validation · JavaScript · 115 source files
Analyzed at a79ff980ab on 2026-08-31. 14 documented errors.
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| ignore should be instance of a String or RegExp | exception | error | validation, options, type-error |
| Invalid locale '${locale}' | exception | error | validation, locale, options |
| ignore should be instance of a String or RegExp | exception | error | validation, options, type-error |
| Invalid locale '${locale}' | exception | error | validation, locale, options |
| ${provider} is not a valid credit card provider. | exception | error | validation, options, credit-card |
| Invalid locale '${options.locale}' | exception | error | validation, locale, options |
| Invalid locale '${locale}' | exception | error | validation, locale, identity-card |
| Invalid locale '${locale}' | exception | error | validation, locale, license-plate |
| Invalid locale '${locale}' | exception | error | validation, locale, phone |
| Invalid locale '${locale}' | exception | error | validation, locale, postal-code |
| Invalid locale '${locale}' | exception | error | validator, locale, argument-validation, input-error |
| Invalid country code: '${countryCode}' | exception | error | validator, vat, country-code, argument-validation |
| Expected a string but received a ${input} | exception | error | typeerror, null, undefined, type-check, validator |
| Expected a string but received a ${input.constructor.name} | exception | error | typeerror, type-check, wrong-type, validator, input-error |