Skip to content

Conversation

@danschultzer
Copy link

@danschultzer danschultzer commented May 8, 2025

This conforms the timeout errors in HTTP2 to be the same as HTTP1. I think the errors should in general be encapsulated into just Finch.Error though, and be normalized so we can handle it generic in other libraries. This is already a breaking change, and it'll be much more of a breaking change with switching everything over to a common error but I think it'll make it easier for other libraries to handle common errors.

Resolves #318

@sneako
Copy link
Owner

sneako commented Oct 22, 2025

Apologies for the long delay here!

I agree that this is a worthy goal worth pursuing, but after careful consideration, I don't think Finch should be creating and returning Mint errors as I feel that could create more confusion.

I think your alternative proposal of encapsulating everything in Finch.Errors is the correct approach.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

:request_timeout with HTTP/2

2 participants