http-rs / surf

Fast and friendly HTTP client framework for async Rust
https://docs.rs/surf
Apache License 2.0
1.45k stars 119 forks source link

surf::Error does not implement std::error::Error #347

Open rbtcollins opened 2 years ago

rbtcollins commented 2 years ago

(I'm happy if you choose to mark this as a duplicate - my main goal is to increase the googlability of this aspect of the current code).

A workaround (I suspect, working on it now) is to implement a newtype and wrap everything that encounters surf error types.

Fishrock123 commented 2 years ago

dependent on https://github.com/http-rs/http-types/pull/395