Class: Mongo::Error::SnapshotSessionInvalidServerVersion
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
|
Class Chain:
self,
Error
|
|
|
Instance Chain:
self,
Error
|
|
| Inherits: |
Error
|
| Defined in: | lib/mongo/error/snapshot_session_invalid_server_version.rb |
Overview
Exception raised if an operation using a snapshot session is directed to a pre-5.0 server.
Class Method Summary
-
.new ⇒ SnapshotSessionInvalidServerVersion
constructor
Instantiate the new exception.
Constructor Details
.new ⇒ SnapshotSessionInvalidServerVersion
Instantiate the new exception.
# File 'lib/mongo/error/snapshot_session_invalid_server_version.rb', line 23
def initialize super('Snapshot reads require MongoDB 5.0 or later') end