Skip to content

Wrapping errors does not give any examples of libraries that can help reduce boilerplate #1773

Closed
@jelacious

Description

@jelacious

The Wrapping errors subheading suggests using "libraries" for handling error wrapping boilerplate but does not suggest any popular libraries that could help with that. The one example I can think of right now is thiserror, but including more examples would definitely be nice to give people several options.

Since, thiserror is so popular one could also consider giving a quick example showcasing how it does reduce the impl From and impl std::error::Error for boilerplate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions