Exception: Authlogic::Session::Existence::SessionInvalidError
- Inherits:
-
StandardError
- Object
- StandardError
- Authlogic::Session::Existence::SessionInvalidError
- Defined in:
- lib/authlogic/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.
22 23 24 25 26 27 28 29 |
# File 'lib/authlogic/session/base.rb', line 22 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 |