Exception: Mongo::Error::OperationFailure
- Inherits:
-
Mongo::Error
- Object
- StandardError
- Mongo::Error
- Mongo::Error::OperationFailure
- Includes:
- Family
- Defined in:
- lib/mongo/error/operation_failure.rb
Overview
Raised when an operation fails for some reason.
Defined Under Namespace
Modules: Family
Constant Summary
Constants included from Family
Family::CHANGE_STREAM_RESUME_ERRORS, Family::CHANGE_STREAM_RESUME_MESSAGES
Constants included from ReadWriteRetryable
ReadWriteRetryable::RETRY_MESSAGES, ReadWriteRetryable::WRITE_RETRY_ERRORS, ReadWriteRetryable::WRITE_RETRY_MESSAGES
Constants included from SdamErrorDetection
SdamErrorDetection::NODE_RECOVERING_CODES, SdamErrorDetection::NODE_SHUTTING_DOWN_CODES, SdamErrorDetection::NOT_MASTER_CODES
Constants inherited from Mongo::Error
BAD_VALUE, CODE, CURSOR_NOT_FOUND, ERR, ERRMSG, ERROR, TRANSIENT_TRANSACTION_ERROR_LABEL, UNKNOWN_ERROR, UNKNOWN_TRANSACTION_COMMIT_RESULT_LABEL, WRITE_CONCERN_ERROR, WRITE_CONCERN_ERRORS, WRITE_ERRORS
Instance Attribute Summary
Attributes included from Family
#code, #code_name, #details, #document, #result, #server_message, #write_concern_error_code, #write_concern_error_code_name, #write_concern_error_document
Attributes included from Notable
#connection_global_id, #generation, #service_id
Method Summary
Methods included from Family
#change_stream_resumable?, #connection_description, #initialize, #max_time_ms_expired?, #unsupported_retryable_write?, #write_concern_error?, #wtimeout?
Methods included from ReadWriteRetryable
#retryable?, #write_retryable?
Methods included from SdamErrorDetection
#node_recovering?, #node_shutting_down?, #not_master?
Methods inherited from Mongo::Error
#change_stream_resumable?, #initialize, #write_concern_error_label?, #write_concern_error_labels