Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants