Exception: Insika::Server::A2A::RemoteError
- Inherits:
-
StandardError
- Object
- StandardError
- Insika::Server::A2A::RemoteError
- Defined in:
- lib/insika/server/a2a/client.rb
Overview
JSON-RPC response envelope carrying error (the remote refused/failed).
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(code, message) ⇒ RemoteError
constructor
A new instance of RemoteError.
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, ) @code = code super() end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
10 11 12 |
# File 'lib/insika/server/a2a/client.rb', line 10 def code @code end |