Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

GoogleWorkspaceApiErrorFormatter

OfficeIMO.GoogleWorkspace

Namespace
OfficeIMO.GoogleWorkspace
Assembly
OfficeIMO.GoogleWorkspace
Source revision
be6c300e4ab1 with working tree changes
Modifiers
static

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 required
Raw response body returned by Google.

Returns

string? A concise error description, or null for empty, invalid, or unrecognized payloads.