Class: A2A::UnsupportedOperationError
- Inherits:
-
JSONRPCError
- Object
- Dry::Struct
- ProtocolStruct
- JSONRPCError
- A2A::UnsupportedOperationError
- Defined in:
- lib/a2a/types/unsupported_operation_error.rb
Overview
Error for unsupported operations
Instance Method Summary collapse
-
#code ⇒ Integer
Error code (-32004).
-
#data ⇒ nil
No additional data.
-
#message ⇒ String
Error message.
Methods included from Extensions::CaseTransformation
Instance Method Details
#code ⇒ Integer
Returns Error code (-32004).
7 |
# File 'lib/a2a/types/unsupported_operation_error.rb', line 7 attribute :code, Types::Integer.constant(ErrorCodes::UNSUPPORTED_OPERATION) |
#data ⇒ nil
Returns No additional data.
13 |
# File 'lib/a2a/types/unsupported_operation_error.rb', line 13 attribute? :data, Types::Nil.constant(nil) |
#message ⇒ String
Returns Error message.
10 |
# File 'lib/a2a/types/unsupported_operation_error.rb', line 10 attribute :message, Types::String.constant('This operation is not supported') |