Exception: Miwifi::UnexpectedResponseCodeError
- Inherits:
-
StandardError
- Object
- StandardError
- Miwifi::UnexpectedResponseCodeError
- Defined in:
- lib/miwifi.rb
Instance Method Summary collapse
-
#initialize(msg = 'Got unexpected response code. Please report this behavior', exception_type = 'custom') ⇒ UnexpectedResponseCodeError
constructor
A new instance of UnexpectedResponseCodeError.
Constructor Details
#initialize(msg = 'Got unexpected response code. Please report this behavior', exception_type = 'custom') ⇒ UnexpectedResponseCodeError
Returns a new instance of UnexpectedResponseCodeError.
24 25 26 27 |
# File 'lib/miwifi.rb', line 24 def initialize(msg = 'Got unexpected response code. Please report this behavior', exception_type = 'custom') @exception_type = exception_type super(msg) end |