postgrest-rs icon indicating copy to clipboard operation
postgrest-rs copied to clipboard

Expose the reqwest::Error

Open eyyyyyyy3 opened this issue 1 year ago • 1 comments
trafficstars

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 avatar Jan 09 '24 16:01 eyyyyyyy3

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

ricardomatias avatar Jul 29 '24 16:07 ricardomatias