panic-handler

Crates.iopanic-handler
lib.rspanic-handler
version2.1.2
sourcesrc
created_at2021-03-08 06:40:21.746692
updated_at2021-06-23 01:42:56.428911
descriptionTetcore custom panic hook with bug report link
homepagehttps://core.tetcoin.org
repositoryhttps://github.com/tetcoin/tetcore
max_upload_size
id365561
size7,830
Marlon Hanks (marlonhanks)

documentation

https://docs.rs/panic-handler

README

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

Commit count: 5279

cargo fmt