Exception: DropboxApi::Errors::TooManyRequestsError
- Inherits:
-
BasicError
- Object
- StandardError
- BasicError
- DropboxApi::Errors::TooManyRequestsError
- Defined in:
- lib/dropbox_api/errors/too_many_requests_error.rb,
lib/dropbox_api/errors/too_many_requests_error.rb
Direct Known Subclasses
Constant Summary collapse
- ErrorSubtypes =
{ :too_many_requests => TooManyRequestsError, :too_many_write_operations => TooManyWriteOperationsError }
Instance Attribute Summary collapse
-
#retry_after ⇒ Object
Returns the value of attribute retry_after.
Class Method Summary collapse
Methods inherited from BasicError
Constructor Details
This class inherits a constructor from DropboxApi::Errors::BasicError
Instance Attribute Details
#retry_after ⇒ Object
Returns the value of attribute retry_after
6 7 8 |
# File 'lib/dropbox_api/errors/too_many_requests_error.rb', line 6 def retry_after @retry_after end |
Class Method Details
.build(message, metadata) ⇒ Object
8 9 10 11 12 |
# File 'lib/dropbox_api/errors/too_many_requests_error.rb', line 8 def self.build(, ) subtype, = find_subtype subtype.new(, ) end |