异常:Mongo::Error::OperationFailure

继承:
Mongo::Error
  • 对象
显示全部
包括:
家庭情况
定义于:
lib/ Mongo/error/operation_failure.rb

Overview

当操作由于某种原因失败时触发。

由于:

  • 2.0.0

在命名空间下定义

模块: 家庭情况

常量摘要

系列中包含的常量

系列::CHANGE_STREAM_RESUME_ERRORS 、系列::CHANGE_STREAM_RESUME_MESSAGES

ReadWriteRetryable中包含的常量

ReadWriteRetryable::RETRY_MESSAGESReadWriteRetryable::WRITE_RETRY_ERRORSReadWriteRetryable::WRITE_RETRY_MESSAGES

SdamErrorDetection 中包含的常量

SdamErrorDetection::NODE_RECOVERING_CodeSSdamErrorDetection::NODE_SHUTTING_down_CodeSSdamErrorDetection::NOT_MASTER_CodeS

Mongo::Error继承的常量

BAD_VALUECodeCURSOR_NOT_FOUNDERRERRMSGERRORTRANSIENT_TRANSACTION_ERROR_LABELUNKNOWN_ERRORUNKNOWN_TRANSACTION_COMMIT_RESULT_LABELWRITE_CONCERN_ERRORWRITE_CONCERN_ERRORSWRITE_ERRORS

实例属性摘要

族中包含的属性

#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

方法摘要

系列中包含的方法

#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