Exception: ForestAdminAgent::Http::Exceptions::TooManyRequestsError
- Inherits:
-
BusinessError
- Object
- StandardError
- BusinessError
- ForestAdminAgent::Http::Exceptions::TooManyRequestsError
- Defined in:
- lib/forest_admin_agent/http/Exceptions/business_error.rb
Instance Attribute Summary collapse
-
#retry_after ⇒ Object
readonly
Returns the value of attribute retry_after.
Attributes inherited from BusinessError
Instance Method Summary collapse
-
#initialize(message, retry_after, details: {}) ⇒ TooManyRequestsError
constructor
A new instance of TooManyRequestsError.
Methods inherited from BusinessError
Constructor Details
#initialize(message, retry_after, details: {}) ⇒ TooManyRequestsError
Returns a new instance of TooManyRequestsError.
76 77 78 79 |
# File 'lib/forest_admin_agent/http/Exceptions/business_error.rb', line 76 def initialize(, retry_after, details: {}) super(, details: details) @retry_after = retry_after end |
Instance Attribute Details
#retry_after ⇒ Object (readonly)
Returns the value of attribute retry_after.
74 75 76 |
# File 'lib/forest_admin_agent/http/Exceptions/business_error.rb', line 74 def retry_after @retry_after end |