class Mongo::Error
Base error class for all Mongo related errors.
@since 2.0.0
Constants
- BAD_VALUE
Constant for a bad value error.
@since 2.0.0
- CODE
The error code field.
@since 2.0.0
- CURSOR_NOT_FOUND
Constant for a Cursor not found error.
@since 2.2.3
- ERR
An error field, MongoDB < 2.6
@since 2.0.0
- ERRMSG
The standard error message field, MongoDB 3.0+
@since 2.0.0
- ERROR
An error field, MongoDB < 2.4
@since 2.0.0
- UNKNOWN_ERROR
Constant for an unknown error.
@since 2.0.0
- WRITE_CONCERN_ERROR
The constant for a write concern error.
@since 2.0.0
- WRITE_CONCERN_ERRORS
The constant for write concern errors.
@since 2.1.0
- WRITE_ERRORS
The constant for the writeErrors array.
@since 2.0.0