Troubleshooting exceptions and unwrapping with Effect.mapError or Effect.tapError
Hi. I am having problems with exceptions, as they are not unwrapped with Effect.mapError or Effect.tapError.
The issue is that, instead of giving me the failure as a parameter, it's giving a FiberFailure. Typescript interprets that the type of the error is some class that extends Exception, but in the transpiled code that's not the case. I have logged the value of the error before trying to access to its properties and this is the logging result.
The function is:
I would like to know what am I missing
The issue is that, instead of giving me the failure as a parameter, it's giving a FiberFailure. Typescript interprets that the type of the error is some class that extends Exception, but in the transpiled code that's not the case. I have logged the value of the error before trying to access to its properties and this is the logging result.
The function is:
I would like to know what am I missing
