Exception: Mongo::Server::AppMetadata::Environment::TooManyEnvironments Private

Inherits:
Error
  • Object
show all
Defined in:
build/ruby-driver-v2.19/lib/mongo/server/app_metadata/environment.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Error class for reporting that too many discriminators were found in the environment. (E.g. if the environment reports that it is running under both AWS and Azure.)

Since:

  • 2.0.0

Constant Summary

Constants inherited from Error

Error::BAD_VALUE, Error::CODE, Error::CURSOR_NOT_FOUND, Error::ERR, Error::ERRMSG, Error::ERROR, 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

Instance Attribute Summary

Attributes included from Error::Notable

#connection_global_id, #generation, #service_id

Method Summary

Methods inherited from Error

#change_stream_resumable?, #initialize, #write_concern_error_label?, #write_concern_error_labels

Methods included from Error::ChangeStreamResumable

#change_stream_resumable?

Methods included from Error::WriteRetryable

#write_retryable?

Methods included from Error::Labelable

#add_label, #label?, #labels

Methods included from Error::Notable

#add_note, #add_notes, #notes, #to_s

Constructor Details

This class inherits a constructor from Mongo::Error