Version: 4.3

Class: ConnectionException

Base class for all connection related errors detected in the driver.

Hierarchy

Constructors

constructor

+ new ConnectionException(previous: Error): ConnectionException

Inherited from DriverException.constructor

Defined in packages/core/src/exceptions.ts:10

Parameters:

NameType
previousError

Returns: ConnectionException

Properties

code

Optional code: string

Inherited from DriverException.code

Defined in packages/core/src/exceptions.ts:6


errmsg

Optional errmsg: string

Inherited from DriverException.errmsg

Defined in packages/core/src/exceptions.ts:10


errno

Optional errno: number

Inherited from DriverException.errno

Defined in packages/core/src/exceptions.ts:7


message

message: string

Inherited from DriverException.message

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


name

name: string

Inherited from DriverException.name

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


sqlMessage

Optional sqlMessage: string

Inherited from DriverException.sqlMessage

Defined in packages/core/src/exceptions.ts:9


sqlState

Optional sqlState: string

Inherited from DriverException.sqlState

Defined in packages/core/src/exceptions.ts:8


stack

Optional stack: string

Inherited from DriverException.stack

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

Last updated on by Martin Adámek