123456789_123456789_123456789_123456789_123456789_

Exception: Mongo::Error::CredentialCheckError

Relationships & Source Files
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/credential_check_error.rb

Overview

Credential check for MONGODB-AWS authentication mechanism failed.

This exception is raised when the driver attempts to verify the credentials via STS prior to sending them to the server, and the verification fails due to an error response from the STS.

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