Class: Mongo::Error::SnapshotSessionTransactionProhibited
- Inherits:
-
Error
- Object
- Error
- Mongo::Error::SnapshotSessionTransactionProhibited
- Defined in:
- lib/mongo/error/snapshot_session_transaction_prohibited.rb
Overview
Exception raised if a transaction is attempted on a snapshot session.
Instance Method Summary collapse
-
#initialize ⇒ SnapshotSessionTransactionProhibited
constructor
Instantiate the new exception.
Constructor Details
#initialize ⇒ SnapshotSessionTransactionProhibited
Instantiate the new exception.
22 23 24 |
# File 'lib/mongo/error/snapshot_session_transaction_prohibited.rb', line 22 def initialize super('Transactions are not supported in snapshot sessions') end |