pezsp-panic-handler

Crates.iopezsp-panic-handler
lib.rspezsp-panic-handler
version13.0.0
created_at2025-12-27 18:12:30.193745+00
updated_at2025-12-27 18:12:30.193745+00
descriptionCustom panic hook with bug report link
homepagehttps://pezkuwichain.io/
repositoryhttps://github.com/pezkuwichain/pezkuwi-sdk.git
max_upload_size
id2007590
size14,949
(SatoshiQaziMuhammed)

documentation

https://docs.pezkuwichain.io/

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: 185

cargo fmt