Optional
options: SequelizeErrorOptions & ErrorOptionsOptional
causeReadonly
errorsArray of ValidationErrorItem objects describing the validation errors
Optional
stackStatic
Optional
prepareOptional override for formatting stack traces
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
Static
stackGets all validation error items for the path / field specified.
Validation error items for the specified path
The path to be checked for error items
Static
captureGenerated using TypeDoc
Validation Error. Thrown when the sequelize validation has failed. The error contains an
errors
property, which is an array with 1 or more ValidationErrorItems, one for each validation that failed.Param
Error message
Param
Array of ValidationErrorItem objects describing the validation errors