Class: Mongo::Error::SessionNotMaterialized
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
|
Class Chain:
self,
InvalidSession,
Error
|
|
|
Instance Chain:
self,
InvalidSession,
Error
|
|
| Inherits: |
Mongo::Error::InvalidSession
|
| Defined in: | lib/mongo/error/session_not_materialized.rb |
Overview
This exception is raised when a session is attempted to be used but it was never materialized.
Class Method Summary
Constructor Details
.new ⇒ SessionNotMaterialized
# File 'lib/mongo/error/session_not_materialized.rb', line 22
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