© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Retry Promise Based on Error Type - Effect Community
EC
Effect Community
•
2y ago
•
7 replies
danielo515
Retry Promise Based on Error Type
Is there a way to specify the retry policy based on the effect error
? For example
, if I get a 500 or timeout
, I want to retry
, but if I get a 400
, there is no point
Effect Community
Join
Production-grade applications in TypeScript.
6,221
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Retry Based on HTTP Response Headers
EC
Effect Community / 🚀-effect
11mo ago
Implementing Retry Logic with Changing Effects Based on Retry Count
EC
Effect Community / 🚀-effect
15mo ago
Type Error with Union of Promise Types in Effect.promise/Effect.tryPromise
EC
Effect Community / 🚀-effect
14mo ago
Effectify existing (e.g Promise-based) Service
EC
Effect Community / 🚀-effect
2y ago