异常:Mongo::Error::ServerTimeoutError

继承:
超时错误 显示全部
包括:
OperationFailure::Family
定义于:
lib/ Mongo/error/server_timeout_error.rb

Overview

当服务器返回错误代码 50 时触发。

由于:

  • 2.0.0

常量摘要

OperatorFailure::Family 中包含的常量

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

ReadWriteRetryable中包含的常量

ReadWriteRetryable::RETRY_MESSAGESReadWriteRetryable::WRITE_RETRY_ERRORSReadWriteRetryable::WRITE_RETRY_MESSAGES

SdamErrorDetection 中包含的常量

Mongo::Error::SdamErrorDetection::NODE_RECOVERING_CodeS Mongo::Error::SdamErrorDetection::NODE_SHUTTING_down_codes Mongo::Error::SdamErrorDetection::NOT_MASTER_CodeS

Mongo::Error继承的常量

BAD_VALUECodeCURSOR_NOT_FOUNDERRERRMSGERRORTRANSIENT_TRANSACTION_ERROR_LABELUNKNOWN_ERRORUNKNOWN_TRANSACTION_COMMIT_RESULT_LABELWRITE_CONCERN_ERRORWRITE_CONCERN_ERRORSWRITE_ERRORS

实例属性摘要

OperatorFailure::Family 中包含的属性

#code , #code_name , #details , # 文档 , #result , #server_message , #write_concern_error_code , #write_concern_error_code_name , #write_concern_error_document

包含在Notable中的属性

#connection_global_id#Generation#service_id

方法摘要

OperationFailure::Family 中包含的方法

#change_stream_resumable? 、#connection_description、#initialize、#max_time_ms_expired? , #unsupported_retryable_write? , #write_concern_error? ,#wtimeout?

ReadWriteRetryable中包含的方法

#retryable? , #write_retryable?

SdamErrorDetection 中包含的方法

#node_recovering? , #node_shutting_down? , #not_master?

Mongo::Error继承的方法

#change_stream_resumable? 、#initialize 、#network_error? , #write_concern_error_label? , #write_concern_error_labels

ChangeStreamResumable中包含的方法

#change_stream_resumable?

WriteRetryable 中包含的方法

#write_retryable?

Labelable 中包含的方法

#add_label , #label? , #labels

Notable中包含的方法

#add_note#add_notes#notes#to_s