Skip to content

Would this be worth exploring adding to std? #13

@mehcode

Description

@mehcode

First, this crate is awesome. I feel like Rust's error story is starting to feel really ergonomic.
This crate looks like a very nice Error type to reach for when working with a leaf/application crate.

Have you thought about working towards adding it to std ?

  • anyhow::Error could be added as std::error ( as a pseudo-primitive ) via the same hack that i32 and std::i32 are merged
  • std::error could be a very good default for various Err, Error, and E type parameters
  • std::error in a future edition could be added to the prelude as just error

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions