Exception: Miwifi::AccessDeniedError

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

Instance Method Summary collapse

Constructor Details

#initialize(msg = 'Access denied; check your credentials', exception_type = 'custom') ⇒ AccessDeniedError

Returns a new instance of AccessDeniedError.



17
18
19
20
# File 'lib/miwifi.rb', line 17

def initialize(msg = 'Access denied; check your credentials', exception_type = 'custom')
  @exception_type = exception_type
  super(msg)
end