Exception: Swiftrail::Testrail::Api::Error::Unknown

Inherits:
Errors::Base
  • Object
show all
Defined in:
lib/swiftrail/testrail/api/error.rb

Instance Method Summary collapse

Constructor Details

#initialize(error_response) ⇒ Unknown

Returns a new instance of Unknown.



20
21
22
# File 'lib/swiftrail/testrail/api/error.rb', line 20

def initialize(error_response)
  super("There has been an unknown error #{error_response.body}")
end