Exception: A2A::Errors::TaskNotFound

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

Overview

Task not found

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

Returns a new instance of TaskNotFound.



81
82
83
# File 'lib/a2a/errors.rb', line 81

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