123456789_123456789_123456789_123456789_123456789_

Exception: Mongo::Auth::InvalidConfiguration

Relationships & Source Files
Extension / Inclusion / Inheritance Descendants
Subclasses:
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, ::Mongo::Error::AuthError, RuntimeError
Instance Chain:
Inherits: Mongo::Error::AuthError
Defined in: lib/mongo/auth.rb

Overview

Raised when trying to authorize with an invalid configuration

Since:

  • 2.11.0

Instance Attribute Summary

::Mongo::Error::Notable - Included

#connection_global_id

Returns global id of the connection on which the error occurred.

#generation

Returns connection pool generation for the connection on which the error occurred.

#service_id

Returns service id for the connection on which the error occurred.

Instance Method Summary

::Mongo::Error::Notable - Included

#add_note,
#add_notes

Allows multiple notes to be added in a single call, for convenience.

#notes

Returns an array of strings with additional information about the exception.

#to_s, #notes_tail