Function silkenweb::window::on_error

source ·
pub fn on_error(f: impl FnMut(Event) + 'static) -> EventCallback
Expand description

Add a error event handler at the window level.

This only has an effect on WASM targets.