Exception: Mongoid::Errors::TransactionsNotSupported
- Inherits:
-
MongoidError
- Object
- StandardError
- MongoidError
- Mongoid::Errors::TransactionsNotSupported
- Defined in:
- lib/mongoid/errors/transactions_not_supported.rb
Overview
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.
Constant Summary
Constants inherited from MongoidError
Instance Attribute Summary
Attributes inherited from MongoidError
#problem, #resolution, #summary
Instance Method Summary collapse
-
#initialize ⇒ TransactionsNotSupported
constructor
Create the error.
Methods inherited from MongoidError
Constructor Details
#initialize ⇒ TransactionsNotSupported
Create the error.
12 13 14 |
# File 'lib/mongoid/errors/transactions_not_supported.rb', line 12 def initialize super('transactions_not_supported') end |