Class
GoogleWorkspaceApiErrorFormatter
OfficeIMO.GoogleWorkspace
Extracts concise diagnostic text from OAuth and Google API error payloads.
Inheritance
- object
- GoogleWorkspaceApiErrorFormatter
Methods
public static string? Format(string responseBody) #Formats a supported JSON error payload for inclusion in an exception message.
Parameters
- responseBody string
- Raw response body returned by Google.
Returns
string? A concise error description, or null for empty, invalid, or unrecognized payloads.