Registry / utility / orfail

orfail

JSON →
library2.0.0rscratesunverified

Error handling library for portable unrecoverable errors.

# Cargo.toml [dependencies] orfail = "2.0.0"
INSTALL
IMPORT
SIG · ORFAIL
O
orfail
utilityrustv2.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

OrFail
use orfail::OrFail;

Demonstrates using OrFail to convert a Result into an orfail::Result.

use orfail::OrFail; fn main() -> orfail::Result<()> { let val: Result<i32, _> = Ok(42); println!("{}", val.or_fail()?); Ok(()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
orfail — cargo add orfail · libregistry