Skip to main content
Version: 6.3

TableExistsException

Exception for an already existing table referenced in a statement detected in the driver.

Hierarchy

Index

Constructors

constructor

  • Parameters

    • previous: Error

    Returns TableExistsException

Properties

optionalcause

cause?: unknown

optionalcode

code?: string

optionalerrmsg

errmsg?: string

optionalerrno

errno?: number

message

message: string

name

name: string

optionalsqlMessage

sqlMessage?: string

optionalsqlState

sqlState?: string

optionalstack

stack?: string

staticoptionalprepareStackTrace

prepareStackTrace?: (err, stackTraces) => any

Optional override for formatting stack traces

@see

Type declaration

    • (err, stackTraces): any
    • Parameters

      • err: Error
      • stackTraces: CallSite[]

      Returns any

staticstackTraceLimit

stackTraceLimit: number

Methods

staticcaptureStackTrace

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


    Parameters

    • targetObject: object
    • optionalconstructorOpt: Function

    Returns void