异常:Mongo::Error::MissingServiceId
- 继承:
-
Mongo::Error
- 对象
- StandardError
- Mongo::Error
- Mongo::Error::MissingServiceId
- 定义于:
- lib/ Mongo/error/missing_service_id.rb
Overview
当驾驶员通过 URI 选项处于负载均衡模式,但连接未报告 serviceId字段的值时,则触发该警报。
常量摘要
从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
实例属性摘要
包含在Notable中的属性
#connection_global_id 、 #Generation 、 #service_id
方法摘要
从Mongo::Error继承的方法
#change_stream_resumable? 、#initialize 、#network_error? , #write_concern_error_label? , #write_concern_error_labels
ChangeStreamResumable中包含的方法
WriteRetryable 中包含的方法
Labelable 中包含的方法
#add_label , #label? , #labels
Notable中包含的方法
#add_note 、 #add_notes 、 #notes 、 #to_s
构造函数详情
该类从Mongo::Error继承了一个构造函数