Accessing Response Headers in Effect-TS Client's Error Handling
I'm experimenting with rate limiting systems and wanted to quickly bootstrap a server and a client in order to simulate different rate limiting strategies and rate limit handling approaches. I'm trying to simulate what Confluence does for the purposes of my experiment. So, I'm using the
HttpApi* family of modules and I derived my client from the shared schema following the docs. Is it currently possible to access the response headers from the context of Effect.catchTag("RateLimitError", () => ...) on the client?