#tetcoin #blockchain #framework

panic-handler

Tetcore custom panic hook with bug report link

3 stable releases

2.1.2 Jun 23, 2021
2.0.2 Apr 3, 2021
2.0.1 Mar 8, 2021
0.0.0 Mar 8, 2021

#143 in #tetcoin

Download history 274/week @ 2026-03-09 355/week @ 2026-03-16 235/week @ 2026-03-23 226/week @ 2026-03-30 293/week @ 2026-04-06 324/week @ 2026-04-13 242/week @ 2026-04-20 243/week @ 2026-04-27 166/week @ 2026-05-04 264/week @ 2026-05-11 255/week @ 2026-05-18 191/week @ 2026-05-25 241/week @ 2026-06-01

1,018 downloads per month
Used in 54 crates (3 directly)

Apache-2.0

8KB
119 lines

Custom panic hook with bug report link

This crate provides the [set] function, which wraps around std::panic::set_hook and sets up a panic hook that prints a backtrace and invites the user to open an issue to the given URL.

By default, the panic handler aborts the process by calling std::process::exit. This can temporarily be disabled by using an AbortGuard.

License: Apache-2.0

Dependencies

~4.5MB
~93K SLoC