Search
Feedback
Setup for Free
TTC
Theo's Typesafe Cult
•
3y ago
•
18 replies
Patrick / Blaze
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,197
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Similar Threads
Best Approach for error handling
TTC
Theo's Typesafe Cult / questions
3y ago
best practices to throw error on backend
TTC
Theo's Typesafe Cult / questions
3y ago