Exception: Wowapi::ApiException

Inherits:
Exception
  • Object
show all
Defined in:
lib/wowapi/exceptions/api_exception.rb

Overview

Thrown when API does not return any data / something goes wrong

Instance Method Summary collapse

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