Method: Mongo::Error::TransactionsNotSupported#initialize
- Defined in:
- lib/mongo/error/transactions_not_supported.rb
#initialize(reason) ⇒ TransactionsNotSupported
Returns a new instance of TransactionsNotSupported.
29 30 31 |
# File 'lib/mongo/error/transactions_not_supported.rb', line 29 def initialize(reason) super("Transactions are not supported for the cluster: #{reason}") end |