Skip to main content
Version: 4.5

Class: KnexTimeoutError#

knex.Knex.KnexTimeoutError

Hierarchy#

  • Error

    KnexTimeoutError

Constructors#

constructor#

+ new KnexTimeoutError(message?: string): KnexTimeoutError

Parameters:#

NameType
message?string

Returns: KnexTimeoutError

Inherited from: void

Defined in: docs/node_modules/typescript/lib/lib.es5.d.ts:978

Properties#

message#

message: string

Inherited from: void

Defined in: docs/node_modules/typescript/lib/lib.es5.d.ts:974


name#

name: string

Inherited from: void

Defined in: docs/node_modules/typescript/lib/lib.es5.d.ts:973


prepareStackTrace#

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

Optional override for formatting stack traces

see https://v8.dev/docs/stack-trace-api#customizing-stack-traces

Type declaration:#

▸ (err: Error, stackTraces: CallSite[]): any

Parameters:#

NameType
errError
stackTracesCallSite[]

Returns: any

Defined in: node_modules/@types/node/globals.d.ts:11

Defined in: node_modules/@types/node/globals.d.ts:11


stack#

Optional stack: string

Inherited from: void

Defined in: docs/node_modules/typescript/lib/lib.es5.d.ts:975


stackTraceLimit#

stackTraceLimit: number

Defined in: node_modules/@types/node/globals.d.ts:13

Methods#

captureStackTrace#

captureStackTrace(targetObject: object, constructorOpt?: Function): void

Create .stack property on a target object

Parameters:#

NameType
targetObjectobject
constructorOpt?Function

Returns: void

Defined in: node_modules/@types/node/globals.d.ts:4

Last updated on by Martin Adámek