Exception: Hominid::APIError

Inherits:
StandardError show all
Defined in:
lib/hominid.rb

Direct Known Subclasses

ListError

Instance Method Summary collapse

Constructor Details

#initialize(error) ⇒ APIError

Returns a new instance of APIError.



10
11
12
# File 'lib/hominid.rb', line 10

def initialize(error)
  super("<#{error.faultCode}> #{error.message}")
end