Module: Google::Auth::DetailedError
- Includes:
- Error
- Included in:
- AuthorizationError, CredentialsError, ParseError, UnexpectedStatusError
- Defined in:
- lib/googleauth/errors.rb
Overview
Mixin module that contains detailed error information typically this is available if credentials initialization succeeds and credentials object is valid
Defined Under Namespace
Modules: ClassMethods
Instance Attribute Summary collapse
-
#credential_type_name ⇒ String?
readonly
The type of the credentials that the error was originated from.
-
#details ⇒ Hash
readonly
All details passed in the options hash when creating the error.
-
#principal ⇒ String, ...
readonly
The principal for the authentication flow.
Instance Attribute Details
#credential_type_name ⇒ String? (readonly)
The type of the credentials that the error was originated from
37 38 39 |
# File 'lib/googleauth/errors.rb', line 37 def credential_type_name @credential_type_name end |
#details ⇒ Hash (readonly)
All details passed in the options hash when creating the error
45 46 47 |
# File 'lib/googleauth/errors.rb', line 45 def details @details end |
#principal ⇒ String, ... (readonly)
The principal for the authentication flow. Typically obtained from credentials
41 42 43 |
# File 'lib/googleauth/errors.rb', line 41 def principal @principal end |