© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Unwrapping Fiber Errors in Effect.runPromise - Effect Community
EC
Effect Community
•
3y ago
•
29 replies
JVictorV
Unwrapping Fiber Errors in Effect.runPromise
So i have an effect of type
Effect
<
never, ErrorResponse, SuccessResponse
>
Effect
<
never, ErrorResponse, SuccessResponse
>
When running it with Effect
.runPromise i noticed that my errors are wrapped in a fiber error
, but in the cases that i
've handled the errors i need to unwrap those in the original ErrorResponse
, how do i do that
?
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
Handling Errors in Effect.runPromise
EC
Effect Community / 🚀-beginners
16mo ago
Handling Exit Type in Fiber.interrupt and Effect.runPromise
EC
Effect Community / 🚀-beginners
2y ago
Handling Specific Errors with runPromise in Effect Typescript
EC
Effect Community / 🚀-beginners
16mo ago
Error in runPromise with Effect
EC
Effect Community / 🚀-beginners
3y ago