Exception: Mongoid::Errors::InvalidTransactionNesting
- Inherits:
-
MongoidError
- Object
- StandardError
- MongoidError
- Mongoid::Errors::InvalidTransactionNesting
- Defined in:
- lib/mongoid/errors/invalid_transaction_nesting.rb
Overview
This error is raised when a transaction is attempted to be used with a model whose client already has an opened transaction.
Constant Summary
Constants inherited from MongoidError
Instance Attribute Summary
Attributes inherited from MongoidError
#problem, #resolution, #summary
Instance Method Summary collapse
-
#initialize ⇒ InvalidTransactionNesting
constructor
Create the error.
Methods inherited from MongoidError
Constructor Details
#initialize ⇒ InvalidTransactionNesting
Create the error.
12 13 14 |
# File 'lib/mongoid/errors/invalid_transaction_nesting.rb', line 12 def initialize super(('invalid_transaction_nesting')) end |