W3cubDocs

/Sequelize

BaseError

Extends:

Error → BaseError

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 The Base Error all Sequelize Errors inherit from.

Copyright © 2014–present Sequelize contributors
Licensed under the MIT License.
https://sequelize.org/master/class/lib/errors/base-error.js~BaseError.html