Flawless error handling in TypeScript
summary
A practical approach to error handling in TypeScript: the talk analyzes error-management problems, shows how to design error handling to align with program flow and data movement, and demonstrates implementation techniques using TypeScript features, functional patterns, and ideas from other languages. It concludes by presenting an open-source independent library (implemented by experienced VK developers) that realizes the proposed approach and links to the talk slides.
AI-written summary · about
chapters (10)
- 0:00Error handling in TS
- 3:53Error causes
- 7:22Preserving flow
- 13:49Custom tuple functions
- 18:03Decorating functions
- 22:17Wrapping errors
- 26:55Railway Oriented Programming
- 31:53Async extension
- 35:26Conclusion
- 36:08Q&A
related talks
51mTypeScript - Beyond the Basics
38mAnthology of Usefulness in TypeScript
27mMatthew Gerstman - TypeScript: Seeing Past the Hype
01h 01mAdvanced TypeScript Type Utilities
21mThe long-tail of type safety
19mHow Typed is Your Framework?
32mCommunicating Intention with Functional TypeScript
01h 01mDeconstructing TypeScript’s Type System
