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

Expose the reqwest::Error #56

Closed
eyyyyyyy3 opened this issue Jan 9, 2024 · 1 comment
Closed

Expose the reqwest::Error #56

eyyyyyyy3 opened this issue Jan 9, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@eyyyyyyy3
Copy link
Contributor

Feature request

Export the reqwest::Error

Is your feature request related to a problem? Please describe.

I was trying to map the Error and realized that the error in the Result that is returned by execute is the reqwest::Error but I don't have access to it unless I add the reqwest crate to my project. This may lead to incompatibility in certain cases and should be avoided.

Describe the solution you'd like

add pub use reqwest::Error to lib.rs

Describe alternatives you've considered

Manually adding the reqwest crate

@eyyyyyyy3 eyyyyyyy3 added the enhancement New feature or request label Jan 9, 2024
@ricardomatias
Copy link

Please fix this, because at the moment we cannot upgrade reqwest to the latest version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants