Exception: A2A::Errors::ResourceExhausted

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

Overview

Resource exhausted

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 = "Resource exhausted", **options) ⇒ ResourceExhausted

Returns a new instance of ResourceExhausted.



144
145
146
# File 'lib/a2a/errors.rb', line 144

def initialize(message = "Resource exhausted", **options)
  super(message, code: -32_010, **options)
end