RaiseOriginalError — Documentation by YARD 0.9.37 (original) (raw)

Exception: Mongo::Error::RaiseOriginalErrorPrivate

Inherits:

Exception

Defined in:

lib/mongo/error/raise_original_error.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Note:

This class must not derive from Error.

This is a special marker exception class used internally in the retryable reads/writes implementation. Its purpose is to bypass note addition when raising the exception from the first read/write attempt.