Exception: ChatSDK::RateLimitedError
- Inherits:
-
PlatformError
- Object
- StandardError
- Error
- PlatformError
- ChatSDK::RateLimitedError
- Defined in:
- lib/chat_sdk/errors.rb
Instance Attribute Summary collapse
-
#retry_after ⇒ Object
readonly
Returns the value of attribute retry_after.
Attributes inherited from PlatformError
Instance Method Summary collapse
-
#initialize(message, retry_after: nil, **kwargs) ⇒ RateLimitedError
constructor
A new instance of RateLimitedError.
Constructor Details
#initialize(message, retry_after: nil, **kwargs) ⇒ RateLimitedError
Returns a new instance of RateLimitedError.
31 32 33 34 |
# File 'lib/chat_sdk/errors.rb', line 31 def initialize(, retry_after: nil, **kwargs) @retry_after = retry_after super(, **kwargs) end |
Instance Attribute Details
#retry_after ⇒ Object (readonly)
Returns the value of attribute retry_after.
30 31 32 |
# File 'lib/chat_sdk/errors.rb', line 30 def retry_after @retry_after end |