Effect CommunityEC
Effect Community2y ago
2 replies
Emberoshi

Handling `FiberFailure` Instead of Expected Error

Hey! A question about error handling: I have an effect that returns an error FetchNotFound when getting a 404 response, the problem I have is when I use Effect.runPromise . I expect to find a FetchNotFound error catching the promise, instead I get a FiberFailure, anyone know how to return the original error?
Was this page helpful?