class Mongoid::Errors::InvalidTransactionNesting
This error is raised when a transaction is attempted to be used with a model whose client already has an opened transaction.
Public Class Methods
new()
click to toggle source
Create the error.
Calls superclass method
# File lib/mongoid/errors/invalid_transaction_nesting.rb, line 12 def initialize super(compose_message('invalid_transaction_nesting')) end