Share via


AgentError interface

Enhanced error type with additional properties for error code, help link, and inner exception. This interface extends the standard Error type with custom properties added by ExceptionHelper.

Extends

Error

Properties

code

Error code for the exception

helpLink

Help URL link for the error

innerException

Optional inner exception

Inherited Properties

message
name
stack

Property Details

code

Error code for the exception

code: number

Property Value

number

Help URL link for the error

helpLink: string

Property Value

string

innerException

Optional inner exception

innerException?: Error

Property Value

Error

Inherited Property Details

message

message: string

Property Value

string

Inherited From Error.message

name

name: string

Property Value

string

Inherited From Error.name

stack

stack?: string

Property Value

string

Inherited From Error.stack