Exception: Authmagic::LoginRequired
- Inherits:
-
AuthenticationError
- Object
- SecurityError
- AuthenticationError
- Authmagic::LoginRequired
- Defined in:
- lib/authmagic/exceptions.rb
Instance Method Summary collapse
-
#initialize(msg = nil) ⇒ LoginRequired
constructor
A new instance of LoginRequired.
Constructor Details
#initialize(msg = nil) ⇒ LoginRequired
Returns a new instance of LoginRequired.
18 19 20 |
# File 'lib/authmagic/exceptions.rb', line 18 def initialize(msg = nil) super(msg || 'login required') end |