Exception: Wowapi::ApiException
- Inherits:
-
Exception
- Object
- Exception
- Wowapi::ApiException
- Defined in:
- lib/wowapi/exceptions/api_exception.rb
Overview
Thrown when API does not return any data / something goes wrong
Instance Method Summary collapse
-
#initialize(msg = 'API request failed.') ⇒ ApiException
constructor
A new instance of ApiException.
Constructor Details
#initialize(msg = 'API request failed.') ⇒ ApiException
Returns a new instance of ApiException.
4 5 6 |
# File 'lib/wowapi/exceptions/api_exception.rb', line 4 def initialize(msg = 'API request failed.') super end |