Exception: Miwifi::UnexpectedResponseCodeError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/miwifi.rb

Instance Method Summary collapse

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