http-rs / http-rs/surf

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

Open
#347 1 comment 3 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
1.5k
Forks
128
PR merge metrics
No merged PRs in 30d

Description

(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.

Contributor guide

Open the contributing guide

Research direction

The issue concerns surf::Error and its std::error::Error integration; start by locating the error definition and existing error conversions. Done means surf::Error implements the standard trait without requiring callers to wrap it in a newtype, with the affected error-handling cases compiling or passing their tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.