@shortcut/client
    Preparing search index...

    Function summarizeShortcutV4Error

    • Reduces a rejected request to its method, pathname, status, and the body's machine-readable tag and error codes. Free-form messages, the response body, the query string, and headers are left out, so the result can be logged without echoing user content, cursors, or credentials. Returns null for anything that is not a v4 rejection.

      Parameters

      • error: unknown

      Returns ShortcutV4ErrorSummary | null