Context: learning wgpu.
Question: wtf is this, and how do I get rid of it? I am not a fan of having dev console cluttered with "not important" red-colored exceptions.
Full error:
Uncaught (in promise) Error: Using exceptions for control flow, don't mind me. This isn't actually an error!
at imports.wbg.__wbindgen_throw (client_w.js:638:15)
at wasm_bindgen::throw_str::h62f5642fc6d5306c (client_w_bg.wasm:0x2263c)
at winit::platform_impl::platform::backend::throw::ha800ba428cc0c27f (client_w_bg.wasm:0x225f0)
at winit::platform_impl::platform::event_loop::EventLoop<T>::run::h62ffc10679c19025 (client_w_bg.wasm:0x1ec53)
at winit::event_loop::EventLoop<T>::run::h63f64260aa90cdb4 (client_w_bg.wasm:0x1f1e0)
at game_client::run::h8aba375cf0be9784 (client_w_bg.wasm:0x17eff)
at client_w::main::hfc8f233646a5b522 (client_w_bg.wasm:0x228a8)
at finalizeInit (client_w.js:691:10)
at init (client_w.js:723:12)
imports.wbg.__wbindgen_throw @ client_w.js:638
$wasm_bindgen::throw_str::h62f5642fc6d5306c @ client_w_bg.wasm:0x2263c
$winit::platform_impl::platform::backend::throw::ha800ba428cc0c27f @ client_w_bg.wasm:0x225f0
$winit::platform_impl::platform::event_loop::EventLoop<T>::run::h62ffc10679c19025 @ client_w_bg.wasm:0x1ec53
$winit::event_loop::EventLoop<T>::run::h63f64260aa90cdb4 @ client_w_bg.wasm:0x1f1e0
$game_client::run::h8aba375cf0be9784 @ client_w_bg.wasm:0x17eff
$client_w::main::hfc8f233646a5b522 @ client_w_bg.wasm:0x228a8
finalizeInit @ client_w.js:691
init @ client_w.js:723
Promise.then (async)
(anonymous)