Exception: Docit::Ai::RateLimitError
- Defined in:
- lib/docit/ai/client.rb
Instance Attribute Summary collapse
-
#retry_after ⇒ Object
readonly
Returns the value of attribute retry_after.
Instance Method Summary collapse
-
#initialize(message, retry_after: nil) ⇒ RateLimitError
constructor
A new instance of RateLimitError.
Constructor Details
#initialize(message, retry_after: nil) ⇒ RateLimitError
Returns a new instance of RateLimitError.
10 11 12 13 |
# File 'lib/docit/ai/client.rb', line 10 def initialize(, retry_after: nil) @retry_after = retry_after super() end |
Instance Attribute Details
#retry_after ⇒ Object (readonly)
Returns the value of attribute retry_after.
8 9 10 |
# File 'lib/docit/ai/client.rb', line 8 def retry_after @retry_after end |