Skip to content

Add custom error mapping with additional information #33

@shard77

Description

@shard77

Currently, if we want to properly map errors with a bit of context, we'd need to use map_err each time and do external matches.
It would be nice if this handled internally, maybe via a trait and associated functions.
This would be done to remove redundancy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions