pezsp-panic-handler 13.0.0

Custom panic hook with bug report link
Documentation
  • Coverage
  • 100%
    6 out of 6 items documented0 out of 5 items with examples
  • Size
  • Source code size: 14.9 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 214.1 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 5s Average build duration of successful builds.
  • all releases: 5s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • Documentation
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • SatoshiQaziMuhammed

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