Skip to content

Replace error-chain by thiserror #4

Closed
@PaulGrandperrin

Description

@PaulGrandperrin

Because of this issue in error-chain rust-lang-deprecated/error-chain#240 , errors from this crate are impossible to propagate when the user is using failures or anyhow and maybe others.

More info can be found here:

Moreover error-chain is not maintained anymore and the fix has, and will never be merged: rust-lang-deprecated/error-chain#241

thiserror is the recommend crate to generate errors from libraries: https://nick.groenen.me/posts/rust-error-handling/

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