>_ hackerrepos search repos…

← top repos

target-san/scoped-panic-hook

Conveinent panic catcher and raw infrastructure for scoped panic hooks in Rust

▲ 1 hacker recommends 1 strongly Rust ★ 1 MIT

Recommended between 2025-11-26 and 2025-11-26. Last pushed 2025-04-25.

▲ 1 recommend · ▼ 0 criticisms

What hackers say

“used https://github.com/target-san/scoped-panic-hook to catch panics as exceptions.”

— dlahoda, 2025-11-26 · strong recommendation · 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/target-san/scoped-panic-hook.svg)](https://hackerrepos.org/repo/target-san/scoped-panic-hook)

Alternatives hackers mention