Exception: A2A::Errors::AgentUnavailable

Inherits:
A2AError
  • Object
show all
Defined in:
lib/a2a/errors.rb

Overview

Agent unavailable

Instance Attribute Summary

Attributes inherited from A2AError

#code, #data

Instance Method Summary collapse

Methods inherited from A2AError

#to_json_rpc_error

Constructor Details

#initialize(message = "Agent unavailable", **options) ⇒ AgentUnavailable

Returns a new instance of AgentUnavailable.



123
124
125
# File 'lib/a2a/errors.rb', line 123

def initialize(message = "Agent unavailable", **options)
  super(message, code: -32_007, **options)
end