class Mongo::Error::SessionNotMaterialized

This exception is raised when a session is attempted to be used but it was never materialized.

Public Class Methods

new() click to toggle source
Calls superclass method Mongo::Error::InvalidSession::new
# File lib/mongo/error/session_not_materialized.rb, line 24
def initialize
  super("The session was not materialized and cannot be used. Use start_session or with_session in order to start a session that will be materialized.")
end