pub trait UncapturedErrorHandler: Fn(Error) + Send + Sync + 'static { }
The callback of Device::on_uncaptured_error().
Device::on_uncaptured_error()
It must be a function with this signature.