Exception: Miwifi::AccessDeniedError
- Inherits:
-
StandardError
- Object
- StandardError
- Miwifi::AccessDeniedError
- Defined in:
- lib/miwifi.rb
Instance Method Summary collapse
-
#initialize(msg = 'Access denied; check your credentials', exception_type = 'custom') ⇒ AccessDeniedError
constructor
A new instance of AccessDeniedError.
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 |