static/v4/class/lib/errors/index.js~ValidationErrorItem.html
publicclass| source
Validation Error Item Instances of this class are included in the ValidationError.errors property.
| Public Members | | public |
The DAO instance that caused the validation error
| | | public |
message: String
An error message
| | | public |
path: String
The field that triggered the validation error
| | | public |
type: String
The type/origin of the validation error
| | | public |
validatorArgs: String
Parameters used with the BUILT-IN validator function, if applicable
| | | public |
validatorKey: String
A validation "key", used for identification
| | | public |
validatorName: String
Property name of the BUILT-IN validator function that caused the validation error (e.g.
| | | public |
value: String
The value that generated the error
| |
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