Class: Mongo::Error::SnapshotSessionTransactionProhibited
| 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_transaction_prohibited.rb |
Overview
Exception raised if a transaction is attempted on a snapshot session.
Class Method Summary
-
.new ⇒ SnapshotSessionTransactionProhibited
constructor
Instantiate the new exception.
Constructor Details
.new ⇒ SnapshotSessionTransactionProhibited
Instantiate the new exception.
# File 'lib/mongo/error/snapshot_session_transaction_prohibited.rb', line 22
def initialize super('Transactions are not supported in snapshot sessions') end