Skip to content

Have anyhow::Error implement std::error::Error? #25

Closed
@swallez

Description

@swallez

anyhow::Error does not implement std::error::Error, which leads to confusion when using anyhow with code that expects a Result<_, std::error::Error>.

I noticed that the same applies to failure::Error in the failure crate.

What is the reason for that? What prevents anyhow::Error from implementing std::error::Error?

... and thanks for all your awesome Rust crates!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions