Effect CommunityEC
Effect Community17mo ago
72 replies
Viridian

Handling of 4xx Errors in @effect/platform API Calls

Does @effect/platform propagate 4xx errors returned from an API call as an HttpClientError, or is it handled in a different way? From my testing it doesn't seem like 404/429's are propagated as errors per say as the pipeline continues. Do I need to do a different check on e.g. the status itself?
Was this page helpful?