Class: Mongo::Error::TransactionsNotSupported
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
|
Class Chain:
self,
Error
|
|
|
Instance Chain:
self,
Error
|
|
| Inherits: |
Error
|
| Defined in: | lib/mongo/error/transactions_not_supported.rb |
Overview
Transactions are not supported by the cluster, e.g. if the topology is standalone.
Class Method Summary
- .new(reason) ⇒ TransactionsNotSupported constructor
Constructor Details
.new(reason) ⇒ TransactionsNotSupported
# File 'lib/mongo/error/transactions_not_supported.rb', line 26
def initialize(reason) super("Transactions are not supported for the cluster: #{reason}") end