Skip to content

@egain/ai-agent-sdk API Reference - v0.1.1 / 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:20

Properties

code

Optional Readonly code: string

Inherited from

SDKError.code

Defined in

core/errors/SDKError.ts:7


cause

Optional Readonly cause: Error

Inherited from

SDKError.cause

Defined in

core/errors/SDKError.ts:8

Released under the MIT License.