Exception: Browserbeam::QuotaExceededError

Inherits:
Error
  • Object
show all
Defined in:
lib/browserbeam/errors.rb

Instance Attribute Summary collapse

Attributes inherited from Error

#code, #context, #request_id, #status_code

Instance Method Summary collapse

Constructor Details

#initialize(message, retry_after: nil, **kwargs) ⇒ QuotaExceededError

Returns a new instance of QuotaExceededError.



30
31
32
33
# File 'lib/browserbeam/errors.rb', line 30

def initialize(message, retry_after: nil, **kwargs)
  super(message, **kwargs)
  @retry_after = retry_after
end

Instance Attribute Details

#retry_afterObject (readonly)

Returns the value of attribute retry_after.



28
29
30
# File 'lib/browserbeam/errors.rb', line 28

def retry_after
  @retry_after
end