Reference documentation and code samples for the googleauth module Google::Auth::DetailedError.
Mixin module that contains detailed error information
typically this is available if credentials initialization
succeeds and credentials object is valid
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# googleauth - Module Google::Auth::DetailedError (v1.15.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.15.0 (latest)](/ruby/docs/reference/googleauth/latest/Google-Auth-DetailedError)\n- [1.14.0](/ruby/docs/reference/googleauth/1.14.0/Google-Auth-DetailedError)\n- [1.13.1](/ruby/docs/reference/googleauth/1.13.1/Google-Auth-DetailedError)\n- [1.12.2](/ruby/docs/reference/googleauth/1.12.2/Google-Auth-DetailedError) \nReference documentation and code samples for the googleauth module Google::Auth::DetailedError.\n\nMixin module that contains detailed error information\ntypically this is available if credentials initialization\nsucceeds and credentials object is valid \n\nIncludes\n--------\n\n- [Google::Auth::Error](./Google-Auth-Error)\n\nMethods\n-------\n\n### #credential_type_name\n\n def credential_type_name() -\u003e String, nil\n\nThe type of the credentials that the error was originated from \n**Returns**\n\n- (String, nil) --- The class name of the credential that raised the error\n\n### #details\n\n def details() -\u003e Hash\n\nAll details passed in the options hash when creating the error \n**Returns**\n\n- (Hash) --- Additional details about the error\n\n### #principal\n\n def principal() -\u003e String, Symbol, nil\n\nThe principal for the authentication flow. Typically obtained from credentials \n**Returns**\n\n- (String, Symbol, nil) --- The principal identifier associated with the credentials"]]