Exception: A2A::Errors::InternalError

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

Overview

Internal error - Internal JSON-RPC error

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 = "Internal error", **options) ⇒ InternalError

Returns a new instance of InternalError.



70
71
72
# File 'lib/a2a/errors.rb', line 70

def initialize(message = "Internal error", **options)
  super(message, code: -32_603, **options)
end