pub fn install_nonfatal_error_handler(device: &Device)Expand description
Install a non-fatal handler for uncaptured wgpu errors on device.
wgpu’s default turns any error not caught by an error scope into a panic. par-term’s wgpu calls happen inside AppKit/SkyLight callbacks — resize and redraw arrive as Objective-C notifications — where a Rust panic cannot unwind and aborts the process. Logging instead keeps the app alive with a degraded frame.