例外:Mongo::Server::AppMetadata::Environment::TooManyEnvironments Private
- 定义于:
- lib/ Mongo/ 服务器/app_metadata/environment.rb
Overview
此类是私有 API 的一部分。 应尽可能避免使用此类,因为它将来可能会被删除或更改。
用于报告在环境中发现过多鉴别器的错误类。 (例如,如果环境报告它在Amazon Web Services和Azure下运行。)
常量摘要
从Error继承的常量
Error::BAD_VALUE、Error::Code、Error::CURSOR_NOT_FOUND、Error::ERRMSG、Error::TRANSIENT_TRANSACTION_ERROR_LABEL、Error::UNKNOWN_ERROR、Error::UNKNOWN_TRANSACTION_COMMIT_RESULT_LABEL、Error::WRITE_CONCERN_ERROR、Error::WRITE_CONCERN_ERRORS、Error::WRITE_ERRORS
实例属性摘要
Error::Notable中包含的属性
#connection_global_id 、 #Generation 、 #service_id
方法摘要
从Error继承的方法
#change_stream_resumable? 、#initialize 、#network_error? , #write_concern_error_label? , #write_concern_error_labels
Error::ChangeStreamResumable中包含的方法
Error::WriteRetryable 中包含的方法
Error::Labelable 中包含的方法
#add_label , #label? , #labels
Error::Notable中包含的方法
#add_note 、 #add_notes 、 #notes 、 #to_s
构造函数详情
该类从Mongo::Error继承了一个构造函数