Exception: Aigen::Google::RateLimitError

Inherits:
ApiError
  • Object
show all
Defined in:
lib/aigen/google/errors.rb

Overview

Rate limit exceeded (429)

Instance Attribute Summary

Attributes inherited from ApiError

#status_code

Instance Method Summary collapse

Constructor Details

#initialize(message = "Rate limit exceeded. Please retry after some time.", status_code: 429) ⇒ RateLimitError

Returns a new instance of RateLimitError.



30
31
32
# File 'lib/aigen/google/errors.rb', line 30

def initialize(message = "Rate limit exceeded. Please retry after some time.", status_code: 429)
  super
end