Exception: Authentication::Logic::Session::Existence::SessionInvalidError
- Inherits:
-
StandardError
- Object
- StandardError
- Authentication::Logic::Session::Existence::SessionInvalidError
- Defined in:
- lib/auth/logic/session/base.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#initialize(session) ⇒ SessionInvalidError
constructor
A new instance of SessionInvalidError.
Constructor Details
#initialize(session) ⇒ SessionInvalidError
Returns a new instance of SessionInvalidError.
23 24 25 26 27 28 29 30 |
# File 'lib/auth/logic/session/base.rb', line 23 def initialize(session) = I18n.t( "error_messages.session_invalid", default: "Your session is invalid and has the following errors:" ) += " #{session.errors..to_sentence}" super end |