API Reference Source
public class | source

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