Class AgentOSServiceError

Custom error class for errors specifically originating from the AgentOS service facade. Provides a standardized way to represent errors encountered within the AgentOS class.

Hierarchy

  • GMIError
    • AgentOSServiceError

Constructors

Methods

  • Wraps an existing error within a new AgentOSServiceError instance.

    Parameters

    • error: any
    • code: string
    • message: string
    • Optional componentOrigin: string

    Returns AgentOSServiceError

  • Parameters

    • error: unknown

    Returns error is GMIError

Properties

name: string = 'AgentOSServiceError'
code: string
details?: any
component?: string
timestamp: string
httpStatusCode?: number
cause?: unknown