Exception: Decommas::ThrottledResponseError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/decommas/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(response) ⇒ ThrottledResponseError

Returns a new instance of ThrottledResponseError.



15
16
17
# File 'lib/decommas/errors.rb', line 15

def initialize(response)
  super("DecommasApi throttled you with: #{response.code} #{response.message}")
end