Exception: A2A::Errors::ProtocolVersionMismatch

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

Overview

Protocol version mismatch

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 = "Protocol version mismatch", **options) ⇒ ProtocolVersionMismatch

Returns a new instance of ProtocolVersionMismatch.



130
131
132
# File 'lib/a2a/errors.rb', line 130

def initialize(message = "Protocol version mismatch", **options)
  super(message, code: -32_008, **options)
end