Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Error
    • SqlError

Index

Properties

cause?: Error
code: null | string

Either a MySQL server error (e.g. 'ER_ACCESS_DENIED_ERROR'), a node.js error (e.g. 'ECONNREFUSED') or an internal error (e.g. 'PROTOCOL_CONNECTION_LOST').

errno: number

The error number for the error code

fatal: boolean

Boolean, indicating if this error is terminal to the connection object.

message: string
name: string
sql: null | string

The sql command associate

sqlState?: null | string

The sql state

stack?: string
text: null | string

original error message value

Generated using TypeDoc