googleauth - Module Google::Auth::DetailedError::ClassMethods (v1.15.0)

Reference documentation and code samples for the googleauth module Google::Auth::DetailedError::ClassMethods.

Class methods to be added to including classes

Methods

#with_details

def with_details(message, credential_type_name:, principal:) -> Error

Creates a new error with detailed information

Parameters
  • message (String) — The error message
  • credential_type_name (String) — The credential type that raised the error
  • principal (String, Symbol) — The principal for the authentication flow
Returns
  • (Error) — The new error with details