例外:Mongo::Server::AppMetadata::Environment::ValueTooLong Private

继承:
错误
  • 对象
显示全部
定义于:
lib/ Mongo/ 服务器/app_metadata/environment.rb

Overview

此类是私有 API 的一部分。 应尽可能避免使用此类,因为它将来可能会被删除或更改。

用于报告字段值太长的错误类。

由于:

  • 2.0.0

常量摘要

从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中包含的方法

#change_stream_resumable?

Error::WriteRetryable 中包含的方法

#write_retryable?

Error::Labelable 中包含的方法

#add_label , #label? , #labels

Error::Notable中包含的方法

#add_note 、 #add_notes 、 #notes 、 #to_s

构造函数详情

该类从Mongo::Error继承了一个构造函数