Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Best practices for typesafe error handling - Theo's Typesafe Cult
TTC
Theo's Typesafe Cult
•
3y ago
•
18 replies
Blaze / Patrick
Best practices for typesafe error handling
What are your best practices for error handling using typescript
? Are you throwing
(custom
?
) errors or do you return success
/error union types
? Or do you do something else
?
Theo's Typesafe Cult
Join
26,564
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Best Approach for error handling
TTC
Theo's Typesafe Cult / questions
4y ago
best practices to throw error on backend
TTC
Theo's Typesafe Cult / questions
3y ago