Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TimeoutError

Thrown when a database query times out because of a deadlock

Hierarchy

Index

Constructors

  • new TimeoutError(parent: DatabaseErrorParent, options?: SequelizeErrorOptions): TimeoutError
  • Parameters

    • parent: DatabaseErrorParent
    • Optional options: SequelizeErrorOptions

    Returns TimeoutError

Properties

cause: DatabaseErrorParent
message: string
name: string
parameters: object
sql: string
stack?: string
prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

Type declaration

stackTraceLimit: number

Accessors

  • get original(): this["cause"]
  • Returns this["cause"]

  • get parent(): this["cause"]
  • Returns this["cause"]

Methods

  • captureStackTrace(targetObject: object, constructorOpt?: Function): void
  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc