Exception: Pcloud::HTTPError

Inherits:
Error
  • Object
show all
Defined in:
lib/pcloud/exceptions.rb

Instance Method Summary collapse

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, message)
  super "#{key} Bad request: #{message}"
end