Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

GoogleWorkspaceApiErrorFormatter

Namespace OfficeIMO.GoogleWorkspace
Assembly OfficeIMO.GoogleWorkspace
Source revision c8404474f9f2 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) #
Returns: String?

Formats a supported JSON error payload for inclusion in an exception message.

Parameters

responseBody System.String requiredposition: 0
Raw response body returned by Google.

Returns

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