Exception: Pcloud::HTTPError
- Defined in:
- lib/pcloud/exceptions.rb
Instance Method Summary collapse
-
#initialize(key, message) ⇒ HTTPError
constructor
A new instance of HTTPError.
Constructor Details
#initialize(key, message) ⇒ HTTPError
Returns a new instance of HTTPError.
10 11 12 |
# File 'lib/pcloud/exceptions.rb', line 10 def initialize(key, ) super "#{key} Bad request: #{}" end |