Exception: A2A::Errors::ParseError

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

Overview

Parse error - Invalid JSON was received by the server

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 = "Parse error", **options) ⇒ ParseError

Returns a new instance of ParseError.



42
43
44
# File 'lib/a2a/errors.rb', line 42

def initialize(message = "Parse error", **options)
  super(message, code: -32_700, **options)
end