Skip to content

Num2Err should implement Error Trait #36

@Iizuki

Description

@Iizuki

First off thanks for this nifty little crate!

The issue

The error type of this crate, Num2Err doesn't implement std::Error trait. This makes it quite impractical to use with crates like anyhow. The question mark operator won't work.

Solution

Implementing Error is really easy by deriving it with thiserror.

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