Exception: Mongo::Error::AuthError
Relationships & Source Files | |
Extension / Inclusion / Inheritance Descendants | |
Subclasses:
Auth::InvalidConfiguration, Auth::InvalidMechanism, Auth::Unauthorized, CredentialCheckError, InvalidServerAuthHost, InvalidServerAuthResponse, Mongo::Auth::Aws::CredentialsNotFound
|
|
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
RuntimeError
|
|
Instance Chain:
self,
Notable ,
RuntimeError
|
|
Inherits: |
RuntimeError
|
Defined in: | lib/mongo/error/auth_error.rb |
Overview
Raised when authentication fails.
Note: This class is derived from RuntimeError for backwards compatibility reasons. It is subject to change in future major versions of the driver.
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 |