Registry / utility / fehler

fehler

JSON →
library1.0.0rscratesunverified

A library for error-handling syntax in Rust, providing macros like throws and try.

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 fehler::throws;

Uses the throws macro to simplify error handling in a function.

use fehler::throws; #[throws(std::io::Error)] fn read_file() -> String { std::fs::read_to_string("example.txt")? } fn main() { match read_file() { Ok(content) => println!("{}", content), Err(e) => eprintln!("Error: {}", e), } }
Debug
Known footguns
gotchaThe throws macro may obscure control flow and is not idiomatic Rust; consider using Result directly.
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