Class: A2A::UnsupportedOperationError
- Inherits:
-
JSONRPC::Error
- Object
- JSONRPC::Error
- A2A::UnsupportedOperationError
- Defined in:
- lib/a2a/types/unsupported_operation_error.rb
Overview
Error for unsupported operations (-32004)
Raised when the requested operation or a specific aspect of it (perhaps implied by parameters) is not supported by this server agent implementation. Broader than just method not found.
Instance Method Summary collapse
-
#initialize(message = 'This operation is not supported.', data: nil, request_id: nil) ⇒ UnsupportedOperationError
constructor
Creates a new Unsupported Operation Error with code -32004.
Constructor Details
#initialize(message = 'This operation is not supported.', data: nil, request_id: nil) ⇒ UnsupportedOperationError
Creates a new Unsupported Operation Error with code -32004
29 30 31 32 33 34 35 36 37 38 39 40 |
# File 'lib/a2a/types/unsupported_operation_error.rb', line 29 def initialize( = 'This operation is not supported.', data: nil, request_id: nil ) super( , code: ErrorCodes::UNSUPPORTED_OPERATION, data:, request_id: ) end |