Handling errors in the Effect library can be a bit tricky at first, especially when dealing with ...
I have 2 services, when one throws an error I cannot seem to handle it.
Here is a mock implementation of my
DatabaseServiceI have tried various ways of trying to handle this error. I still have some confusion around how to "unwrap" the effect responses. In my other service I just want to be able to handle the error and return an appropriate response
When I run the code with the mocked out service I end up seeing the code hit the success path, yet still reporting an error.
Any help is appreciated
