Skip to content

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

Class: AuthError ​

Authentication-related errors

Hierarchy ​

Table of contents ​

Constructors ​

Properties ​

Constructors ​

constructor ​

• new AuthError(message, cause?): AuthError

Parameters ​

NameType
messagestring
cause?Error

Returns ​

AuthError

Overrides ​

SDKError.constructor

Defined in ​

core/errors/SDKError.ts:22

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.