123456789_123456789_123456789_123456789_123456789_

Class: Mongo::Error::SnapshotSessionTransactionProhibited

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, Error
Instance Chain:
self, Error
Inherits: Error
  • Object
Defined in: lib/mongo/error/snapshot_session_transaction_prohibited.rb

Overview

Exception raised if a transaction is attempted on a snapshot session.

Since:

  • 2.0.0

Class Method Summary

Constructor Details

.newSnapshotSessionTransactionProhibited

Instantiate the new exception.

Since:

  • 2.0.0

[ GitHub ]

  
# File 'lib/mongo/error/snapshot_session_transaction_prohibited.rb', line 22

def initialize
  super('Transactions are not supported in snapshot sessions')
end