Skip to main content
Version: Next

DeadlockException

Exception for a deadlock error of a transaction detected in the driver.

Hierarchy

Index

Constructors

constructor

  • Parameters

    • previous: Error

    Returns DeadlockException

Properties

optionalinheritedcause

cause?: unknown

optionalinheritedcode

code?: string

optionalinheritederrmsg

errmsg?: string

optionalinheritederrno

errno?: number

inheritedmessage

message: string

inheritedname

name: string

optionalinheritedsqlMessage

sqlMessage?: string

optionalinheritedsqlState

sqlState?: string

optionalinheritedstack

stack?: string

staticoptionalinheritedprepareStackTrace

prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

Optional override for formatting stack traces

@see

Type declaration

    • (err: Error, stackTraces: CallSite[]): any
    • Parameters

      • err: Error
      • stackTraces: CallSite[]

      Returns any

staticinheritedstackTraceLimit

stackTraceLimit: number

Methods

staticinheritedcaptureStackTrace

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


    Parameters

    • targetObject: object
    • optionalconstructorOpt: Function

    Returns void