Expand description
Handling of WASM panic hook that allows activation of console-based panic hook as well as a browser-based panic hook. (the browser-based panic hook activates a full-screen debug information output in case of a panic - useful on mobile devices or where the user otherwise has no access to console/developer tools)
Functionsยง
- init_
browser_ panic_ hook - Initialize Rust panic handler in browser mode.
- init_
console_ panic_ hook - Initialize Rust panic handler in console mode.
- show_
panic_ hook_ logs - Present panic logs to the user in the browser.