Exception: Reivt::LoginException
- Inherits:
-
StandardError
- Object
- StandardError
- Reivt::LoginException
- Defined in:
- lib/reivt/exception.rb
Overview
Custom error for dealing with users who aren’t logged in
Instance Method Summary collapse
-
#initialize ⇒ LoginException
constructor
A new instance of LoginException.
Constructor Details
#initialize ⇒ LoginException
Returns a new instance of LoginException.
47 48 49 50 |
# File 'lib/reivt/exception.rb', line 47 def initialize msg = 'LoginException: Run ' + Paint['revit login', :yellow] + ' first.' super(msg) end |