Exception: Insika::Server::A2A::RemoteError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/insika/server/a2a/client.rb

Overview

JSON-RPC response envelope carrying error (the remote refused/failed).

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(code, message) ⇒ RemoteError

Returns a new instance of RemoteError.



12
13
14
15
# File 'lib/insika/server/a2a/client.rb', line 12

def initialize(code, message)
  @code = code
  super(message)
end

Instance Attribute Details

#codeObject (readonly)

Returns the value of attribute code.



10
11
12
# File 'lib/insika/server/a2a/client.rb', line 10

def code
  @code
end