Skip to content

Latest commit

 

History

History
129 lines (65 loc) · 1.42 KB

TimeoutError.md

File metadata and controls

129 lines (65 loc) · 1.42 KB

sequelize-pool


sequelize-pool / TimeoutError

Class: TimeoutError

Error which is thrown by pool when acquire request timeouts

Extends

  • Error

Constructors

Constructor

new TimeoutError(message?): TimeoutError

Parameters

message?

string

Returns

TimeoutError

Inherited from

Error.constructor

Properties

message

message: string

Inherited from

Error.message


name

name: string

Inherited from

Error.name


stack?

optional stack: string

Inherited from

Error.stack


prepareStackTrace()?

static optional prepareStackTrace: (err, stackTraces) => any

Optional override for formatting stack traces

Parameters

err

Error

stackTraces

CallSite[]

Returns

any

See

https://github.com/v8/v8/wiki/Stack%20Trace%20API#customizing-stack-traces

Inherited from

Error.prepareStackTrace


stackTraceLimit

static stackTraceLimit: number

Inherited from

Error.stackTraceLimit

Methods

captureStackTrace()

static captureStackTrace(targetObject, constructorOpt?): void

Create .stack property on a target object

Parameters

targetObject

Object

constructorOpt?

Function

Returns

void

Inherited from

Error.captureStackTrace