Documentation - v1.2.0-alpha.3
    Preparing search index...

    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.

    interface AgentError {
        cause?: unknown;
        code: number;
        helpLink: string;
        innerException?: Error;
        message: string;
        name: string;
        stack?: string;
    }

    Hierarchy

    • Error
      • AgentError
    Index

    Properties

    cause?: unknown
    code: number

    Error code for the exception

    helpLink: string

    Help URL link for the error

    innerException?: Error

    Optional inner exception

    message: string
    name: string
    stack?: string