Exception: Swiftrail::Testrail::Api::Error::Unknown
- Inherits:
-
Errors::Base
- Object
- StandardError
- Errors::Base
- Swiftrail::Testrail::Api::Error::Unknown
- Defined in:
- lib/swiftrail/testrail/api/error.rb
Instance Method Summary collapse
-
#initialize(error_response) ⇒ Unknown
constructor
A new instance of Unknown.
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 |