Exception: Authlogic::Session::Existence::SessionInvalidError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/authlogic/session/existence.rb

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initialize(session) ⇒ SessionInvalidError

Returns a new instance of SessionInvalidError.



6
7
8
# File 'lib/authlogic/session/existence.rb', line 6

def initialize(session)
  super("Your session is invalid and has the following errors: #{session.errors.full_messages.to_sentence}")
end