lib/mongo/retryable.rb
# Retry writes on MMAPv1 should raise an actionable error; append actionable
# information to the error message and preserve the backtrace.
Retry writes on MMAPv1 should raise an actionable error; append actionable
information to the error message and preserve the backtrace.
Retry writes on MMAPv1 should raise an actionable error ; append actionable information to the error message and preserve the backtrace .
def raise_unsupported_error(e)
      new_error = Error::OperationFailure.new("#{e.class}: #{e} "\
        "This MongoDB deployment does not support retryable writes. Please add "\
        "retryWrites=false to your connection string or use the retry_writes: false Ruby client option")
      new_error.set_backtrace(e.backtrace)
      raise new_error
    end
def raise_unsupported_error ( e ) new_error = Error :: OperationFailure . new ( "#{e.class}: #{e} " "This MongoDB deployment does not support retryable writes. Please add " "retryWrites=false to your connection string or use the retry_writes: false Ruby client option" ) new_error . set_backtrace ( e . backtrace ) raise new_error end
Retry writes on MMAPv1 should raise an actionable error; append actionable
information to the error message and preserve the backtrace.
Retry writes on MMAPv1 should raise an actionable error ; append actionable information to the error message and preserve the backtrace .
e