Exception: Aha::Auth::RateLimitError
- Defined in:
- lib/aha/auth/errors.rb
Overview
Raised when rate limit is exceeded
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.
34 35 36 37 |
# File 'lib/aha/auth/errors.rb', line 34 def initialize(, retry_after: nil) super() @retry_after = retry_after end |
Instance Attribute Details
#retry_after ⇒ Object (readonly)
Returns the value of attribute retry_after.
32 33 34 |
# File 'lib/aha/auth/errors.rb', line 32 def retry_after @retry_after end |