Exception: Mongo::Error::ServerTimeoutError

Inherits:
TimeoutError show all
Includes:
OperationFailure::Family
Defined in:
lib/mongo/error/server_timeout_error.rb

Overview

Raised when the server returns error code 50.

Since:

  • 2.0.0

Constant Summary

Constants included from OperationFailure::Family

OperationFailure::Family::CHANGE_STREAM_RESUME_ERRORS, OperationFailure::Family::CHANGE_STREAM_RESUME_MESSAGES

Constants included from ReadWriteRetryable

ReadWriteRetryable::RETRY_MESSAGES, ReadWriteRetryable::WRITE_RETRY_ERRORS, ReadWriteRetryable::WRITE_RETRY_MESSAGES

Constants included from SdamErrorDetection

Mongo::Error::SdamErrorDetection::NODE_RECOVERING_CODES, Mongo::Error::SdamErrorDetection::NODE_SHUTTING_DOWN_CODES, Mongo::Error::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 OperationFailure::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 OperationFailure::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

Methods included from ChangeStreamResumable

#change_stream_resumable?

Methods included from WriteRetryable

#write_retryable?

Methods included from Labelable

#add_label, #label?, #labels

Methods included from Notable

#add_note, #add_notes, #notes, #to_s