Closed
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.
Activity