FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    TargetInvocationError

    struct · ferroui-reactiveui · v0.5.0

    struct TargetInvocationError
    

    The error of a member that was invoked and failed (System.Reflection.TargetInvocationException): what a binding gives the default exception handler when the sequence feeding its write faults with an inner error.

    Deviation (DEVIATIONS.md, ReactiveUI): the inner exception is kept as its message, so the error stays Clone, Eq and Send.

    View source

    Members

    with_inner

    fn with_inner(message: impl Into<String>, inner_exception: &dyn Error) -> Self
    

    The exception with message, caused by inner_exception (TargetInvocationException(string, Exception)).

    Source

    message

    fn message(self: &Self) -> &str
    

    The message (Message).

    Source

    inner_exception

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

    The message of the error that caused this one (InnerException.Message).

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • ToString
    • Clone
    • Debug
    • StructuralPartialEq
    • PartialEq
    • Eq
    • Display
    • Error

    Availability

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