WellknownRequestResult:
    | { data: unknown; error?: undefined }
    | { data?: undefined; error: GenericError }

The result shape returned by a WellknownRequestFn.

Exactly one of data or error must be present — this is enforced via a discriminated union so that illegal states are unrepresentable.