Module workflow_wasm::panic
source · 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§
- Initialize Rust panic handler in browser mode.
- Initialize Rust panic handler in console mode.
- Present panic logs to the user in the browser.