DispatcherUnhandledExceptionFilterEventArgs
struct · ferroui-base · v0.5.0
struct DispatcherUnhandledExceptionFilterEventArgs<'a>
Provides data for the Dispatcher::unhandled_exception_filter event.
Members
exception
fn exception(self: &Self) -> &dyn Any + Send
The panic payload that was raised while executing code by way of a dispatcher.
exception_message
fn exception_message(self: &Self) -> Option<&str>
The panic message, when the payload is a string.
request_catch
fn request_catch(self: &Self) -> bool
Whether the exception should be caught and the
unhandled_exception handlers called.
A filter handler can set this to false, which stops the exception
from being caught and handed to the unhandled_exception handlers.
set_request_catch
fn set_request_catch(self: &Self, value: bool)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeClassDefaultsBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyErasedDestructorIntoEitherDispatcherEventArgs
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.