-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
A-errorArea: error handlingArea: error handlingC-featureCategory: feature. This is adding a new feature.Category: feature. This is adding a new feature.E-easyEffort: easy. A task that would be a great starting point for a new contributor.Effort: easy. A task that would be a great starting point for a new contributor.
Description
The source
method is the better replacement for cause
. Hyper's Error
should implement the method.
However, it's only available on newer Rust versions. To prevent requiring a new version, a build script can check rustc --version
and set a cfg
flag such that it's only implemented when available.
Metadata
Metadata
Assignees
Labels
A-errorArea: error handlingArea: error handlingC-featureCategory: feature. This is adding a new feature.Category: feature. This is adding a new feature.E-easyEffort: easy. A task that would be a great starting point for a new contributor.Effort: easy. A task that would be a great starting point for a new contributor.