Exception: Benchwarmer::APIError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/benchwarmer/api.rb

Instance Method Summary collapse

Constructor Details

#initialize(error) ⇒ APIError

Returns a new instance of APIError.



89
90
91
# File 'lib/benchwarmer/api.rb', line 89

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