Exception: ActionDispatch::Session::SessionRestoreError
- Inherits:
 - 
      StandardError
      
        
- Object
 - StandardError
 - ActionDispatch::Session::SessionRestoreError
 
 
- Defined in:
 - lib/action_dispatch/middleware/session/abstract_store.rb
 
Overview
:nodoc:
Instance Method Summary collapse
- 
  
    
      #initialize  ⇒ SessionRestoreError 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of SessionRestoreError.
 
Constructor Details
#initialize ⇒ SessionRestoreError
Returns a new instance of SessionRestoreError.
      12 13 14 15 16 17  | 
    
      # File 'lib/action_dispatch/middleware/session/abstract_store.rb', line 12 def initialize super("Session contains objects whose class definition isn't available.\n" \ "Remember to require the classes for all objects kept in the session.\n" \ "(Original exception: #{$!.} [#{$!.class}])\n") set_backtrace $!.backtrace end  |