Registry / utility / exitfailure

exitfailure

JSON →
library0.5.1rscratesunverified

A basic newtype wrapper for use with ? in main.

utility
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.

use exitfailure::ExitFailure;

Allows using `?` in main by wrapping errors into ExitFailure.

use exitfailure::ExitFailure; fn main() -> Result<(), ExitFailure> { let x: u32 = "42".parse()?; println!("Parsed: {}", x); Ok(()) }
Debug
Known footguns
breakingDeprecated in favor of `anyhow` or `eyre`.
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
12 hits · last 30 days
gptbot
3
claudebot
3
ahrefsbot
1
Resources