123456789_123456789_123456789_123456789_123456789_

Exception: Mongo::Error::InvalidServerAuthResponse

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

Overview

Raised when authentication is aborted on the client because the server responded in an unacceptable manner.

Since:

  • 2.0.0

Instance Attribute Summary

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

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