Effect CommunityEC
Effect Communitythis hour
3 replies
Erick

HttpClientResponse.schemaBodyJson not inferring errors correctly

Hi I just recently started learning effect http client, and I wanted to use HttpClientResponse.schemaBodyJson together with HttpClientResponse.matchStatus
But it broke the error channel when I tried it, am I missing something here?
Any help would be appreciated!

I have claude wrote a reproducible example here
https://effect.website/play/#5d19c3062438

or if the playground isnt working, ive attached the file
Effect Documentation
Was this page helpful?