class Mongo::Error::SnapshotSessionTransactionProhibited
Exception raised if a transaction is attempted on a snapshot session.
Public Class Methods
new()
click to toggle source
Instantiate the new exception.
Calls superclass method
Mongo::Error.new
# File lib/mongo/error/snapshot_session_transaction_prohibited.rb, line 24 def initialize super("Transactions are not supported in snapshot sessions") end