Skip to content

ES-22: Provide OptionExt::ok_or_report to create reports with a given context for None #667

Description

@jnicholls

I think this would be nice to have vs. ok_or_else() + deliberate Report::new()

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area/dxImprovements or additions to DX or docsarea/libsRelates to first-party libraries/crates/packages (area)area/libs > error-stackAffects the `error-stack` crate (library)priority/3 lowLower priority: nice-to-have

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions