Class: A2A::CancelTaskResponse
- Inherits:
-
JSONRPC::Response
- Object
- JSONRPC::Response
- A2A::CancelTaskResponse
- Defined in:
- lib/a2a/types/cancel_task_response.rb
Overview
Response to a ‘tasks/cancel` request. Contains the updated Task object or an error.
Instance Method Summary collapse
-
#error ⇒ JSONRPC::Error?
Error information if the request failed.
-
#result ⇒ Task?
The canceled task information if successful.
Instance Method Details
#error ⇒ JSONRPC::Error?
Returns Error information if the request failed.
10 |
# File 'lib/a2a/types/cancel_task_response.rb', line 10 attribute? :error, Types::Constructor(JSONRPC::Error).optional |