Creates a new ValidationError item. Instances of this class are included in the ValidationError.errors
property.
An error message
The type/origin of the validation error
The field that triggered the validation error
The value that generated the error
the DAO instance that caused the validation error
a validation "key", used for identification
property name of the BUILT-IN validator function that caused the validation error (e.g. "in" or "len"), if applicable
parameters used with the BUILT-IN validator function, if applicable
The DAO instance that caused the validation error
An error message
The field that triggered the validation error
The type/origin of the validation error
Parameters used with the BUILT-IN validator function, if applicable
A validation "key", used for identification
Property name of the BUILT-IN validator function that caused the validation error (e.g. "in" or "len"), if applicable
The value that generated the error
return a lowercase, trimmed string "key" that identifies the validator.
Note: the string will be empty if the instance has neither a valid validatorKey
property nor a valid validatorName
property
controls whether the returned value is "namespace",
this parameter is ignored if the validator's type
is not one of ValidationErrorItem.Origins
a separator string for concatenating the namespace, must be not be empty, defaults to "." (fullstop). only used and validated if useTypeAsNS is TRUE.
Generated using TypeDoc
Validation Error Item Instances of this class are included in the
ValidationError.errors
property.