Exception: A2A::Errors::MethodNotFound

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

Overview

Method not found - The method does not exist / is not available

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 = "Method not found", **options) ⇒ MethodNotFound

Returns a new instance of MethodNotFound.



56
57
58
# File 'lib/a2a/errors.rb', line 56

def initialize(message = "Method not found", **options)
  super(message, code: -32_601, **options)
end