Skip to content

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

@jnicholls

Description

@jnicholls

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

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

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions