Handling errors with TypeScript's union types | Heykuki News