Skip to content

@egain/ai-agent-sdk API Reference - v0.3.2 / ConnectionError

Class: ConnectionError ​

Connection-related errors

Hierarchy ​

Table of contents ​

Constructors ​

Properties ​

Constructors ​

constructor ​

• new ConnectionError(message, cause?): ConnectionError

Parameters ​

NameType
messagestring
cause?Error

Returns ​

ConnectionError

Overrides ​

SDKError.constructor

Defined in ​

core/errors/SDKError.ts:33

Properties ​

code ​

• Optional Readonly code: string

Inherited from ​

SDKError.code

Defined in ​

core/errors/SDKError.ts:9


cause ​

• Optional Readonly cause: Error

Inherited from ​

SDKError.cause

Defined in ​

core/errors/SDKError.ts:10

Released under the MIT License.