Class: Glia::Errors::TooManyRequestsError
- Defined in:
- lib/glia/errors/client_errors.rb
Instance Attribute Summary
Attributes inherited from Error
#error_details, #message, #ref, #type
Instance Method Summary collapse
-
#initialize(message: nil) ⇒ TooManyRequestsError
constructor
A new instance of TooManyRequestsError.
Methods inherited from Error
Constructor Details
#initialize(message: nil) ⇒ TooManyRequestsError
Returns a new instance of TooManyRequestsError.
483 484 485 486 487 488 489 |
# File 'lib/glia/errors/client_errors.rb', line 483 def initialize(message: nil) super( type: TOO_MANY_REQUESTS_ERROR, ref: create_ref(TOO_MANY_REQUESTS_ERROR), message: || 'Too Many Requests' ) end |