>_ hackerrepos search repos…

← top repos

iex-rs/lithium

Lightweight exceptions for Rust

▲ 1 hacker recommends Rust ★ 104 Apache-2.0

Recommended between 2025-11-26 and 2025-11-26. Last pushed 2026-10-05.

▲ 1 recommend · ▼ 0 criticisms

What hackers say

“was thinking to use https://github.com/iex-rs/lithium”

— dlahoda, 2025-11-26 · original comment on Hacker News ↗

show original comment

end result is here https://zo-devnet.n1.xyz/docs - well documented strongly typed errors for API. most eveolved https://zo-devnet.n1.xyz/docs#tag/default/post/action - mixes binary encoding, headers, and numeric errors embeeding (http goes to binary tx format). all strongly typed without duplicated boilerplate. inside - ad hoc error assembly - display_doc,derive_more, backtrace - no anyhow, not thiserror, no snafu. fail fast and panic a lot, covered by proptests(toward fuzzytests). used https://github.com/target-san/scoped-panic-hook to catch panics as exceptions. was thinking to use https://github.com/iex-rs/lithium panics = bugs or undefinenide behavour.

Badge for your README

hackers recommend badge
[![hackers recommend](https://hackerrepos.org/badge/iex-rs/lithium.svg)](https://hackerrepos.org/repo/iex-rs/lithium)

Alternatives hackers mention