Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: re-export http client error in providers transports #570

Merged
merged 2 commits into from Nov 10, 2021

Conversation

prestwich
Copy link
Collaborator

Motivation

Allow direct wrapping of the Provider to enable (e.g.) providers with exponenital backoff. Because we want to change the functionality of the request method, this cannot be a middleware and must be a provider

Solution

Exported the un-exported http::ClientError and ws::ClientError types so that wrapping types can name them

PR Checklist

  • Added Tests
  • Added Documentation
  • Updated the changelog

@gakonst gakonst merged commit e9d4012 into master Nov 10, 2021
@gakonst gakonst deleted the prestwich/expose-http-client-error branch November 10, 2021 16:53
meetmangukiya pushed a commit to meetmangukiya/ethers-rs that referenced this pull request Mar 21, 2022
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.

None yet

2 participants