Effect CommunityEC
Effect Community10mo ago
11 replies
Arman

Handling Different Error Responses in `HttpApi`

HttpApi produces ParseError on 400 response, but ResponseError on 422
Are there some implicit error schemas for 400 status and is there a way to remove it so it so it returns ResponseError? (I only see this for 400, other error status codes end up on ResponseError as expected)
This is for an api schema defined with HttpApi for a third party API
Was this page helpful?