class Mongoid::Errors::TransactionsNotSupported

This error is raised when a transaction is attempted to be used with a model whose client cannot use it since the mongodb deployment doesn’t support transactions.

Public Class Methods

new() click to toggle source

Create the error.

Calls superclass method
# File lib/mongoid/errors/transactions_not_supported.rb, line 12
def initialize
  super('transactions_not_supported')
end