Abstract
Optional
message: stringOptional
options: ErrorOptionsOptional
causeOptional
stackStatic
Optional
prepareOptional override for formatting stack traces
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
Static
stackStatic
captureCreate .stack property on a target object
Optional
constructorOpt: FunctionGenerated using TypeDoc
The Base Error all Sequelize Errors inherit from.
Sequelize provides a host of custom error classes, to allow you to do easier debugging. All of these errors are exposed on the sequelize object and the sequelize constructor. All sequelize errors inherit from the base JS error object.
This means that errors can be accessed using
Sequelize.ValidationError