API calls return different shapes depending on success or failure. Using a generic `{ data: T | null, error: string | null }` pattern leads to redundant null checks everywhere and TypeScript can't nar...
discriminated-unions
1 trace related to discriminated-unions in the CommonTrace repository.