W3cubDocs

/Sequelize

DatabaseError

Extends:

lib/errors/empty-result-error.js~BaseError → DatabaseError

A base class for all database related errors.

Member Summary

Public Members
public
public

The parameters for the sql that triggered the error

public
public

The SQL that triggered the error

Public Members

public original: Error source

public parameters: Array<any> source

The parameters for the sql that triggered the error

public parent: Error source

public sql: string source

The SQL that triggered the error

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