Accessing the Original Error from `ResponseError` in Effect

how can I access the original error from
ResponseError
?
I've tried the following but it doesn't work
Effect.catchTag("ResponseError", (e) => Effect.fail(e.response)),
Was this page helpful?