[[["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::ClassMethods (v1.15.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.15.0 (latest)](/ruby/docs/reference/googleauth/latest/Google-Auth-DetailedError-ClassMethods)\n- [1.14.0](/ruby/docs/reference/googleauth/1.14.0/Google-Auth-DetailedError-ClassMethods)\n- [1.13.1](/ruby/docs/reference/googleauth/1.13.1/Google-Auth-DetailedError-ClassMethods)\n- [1.12.2](/ruby/docs/reference/googleauth/1.12.2/Google-Auth-DetailedError-ClassMethods) \nReference documentation and code samples for the googleauth module Google::Auth::DetailedError::ClassMethods.\n\nClass methods to be added to including classes\n\nMethods\n-------\n\n### #with_details\n\n def with_details(message, credential_type_name:, principal:) -\u003e Error\n\nCreates a new error with detailed information \n**Parameters**\n\n- **message** (String) --- The error message\n- **credential_type_name** (String) --- The credential type that raised the error\n- **principal** (String, Symbol) --- The principal for the authentication flow \n**Returns**\n\n- ([Error](./Google-Auth-Error)) --- The new error with details"]]