FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    DispatcherUnhandledExceptionFilterEventArgs

    struct · ferroui-base · v0.5.0

    struct DispatcherUnhandledExceptionFilterEventArgs<'a>
    

    Provides data for the Dispatcher::unhandled_exception_filter event.

    View source

    Members

    exception

    fn exception(self: &Self) -> &dyn Any + Send
    

    The panic payload that was raised while executing code by way of a dispatcher.

    Source

    exception_message

    fn exception_message(self: &Self) -> Option<&str>
    

    The panic message, when the payload is a string.

    Source

    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.

    Source

    set_request_catch

    fn set_request_catch(self: &Self, value: bool)
    

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • ClassDefaults
    • Borrow<T>
    • BorrowMut<T>
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ErasedDestructor
    • IntoEither
    • DispatcherEventArgs

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.