throw_panic_hook

Crates.iothrow_panic_hook
lib.rsthrow_panic_hook
version0.1.0
sourcesrc
created_at2023-12-15 22:03:26.403086
updated_at2023-12-15 22:03:26.403086
description💥 Panic hook for Rust WASM that throws an error
homepage
repositoryhttps://github.com/jcbhmr/throw_panic_hook
max_upload_size
id1071321
size4,108
Jacob Hummer (jcbhmr)

documentation

README

throw panic hook

Installation

cargo add throw_panic_hook

Usage

// lib.rs
pub fn do_thing() {
  throw_panic_hook::set_once();
  // ... rest of Rust code
}

pub fn do_other_thing() {
  throw_panic_hook::set_once();
  // ... rest of Rust code
}
Commit count: 46

cargo fmt