Exception: Miwifi::NoTokenError
- Inherits:
-
StandardError
- Object
- StandardError
- Miwifi::NoTokenError
- Defined in:
- lib/miwifi.rb
Instance Method Summary collapse
-
#initialize(msg = 'You are unauthorized', exception_type = 'custom') ⇒ NoTokenError
constructor
A new instance of NoTokenError.
Constructor Details
#initialize(msg = 'You are unauthorized', exception_type = 'custom') ⇒ NoTokenError
Returns a new instance of NoTokenError.
31 32 33 34 |
# File 'lib/miwifi.rb', line 31 def initialize(msg = 'You are unauthorized', exception_type = 'custom') @exception_type = exception_type super(msg) end |