Registry / utility / fmterr

fmterr

JSON →
library0.1.1rscratesunverified

Sane error reporting that just works.

# Cargo.toml [dependencies] fmterr = "0.1.1"
INSTALL
IMPORT
SIG · FMTERR
F
fmterr
utilityrustv0.1.1
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.

fmt_err
use fmterr::fmt_err;

Format an error for human-readable output.

use fmterr::fmt_err; fn main() { let result: Result<(), String> = Err("something went wrong".to_string()); if let Err(e) = result { println!("{}", fmt_err(e)); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
fmterr — cargo add fmterr · libregistry