FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    LoggingError

    struct · ferroui-splat · v0.5.0

    struct LoggingError
    

    The failure of the logging infrastructure (LoggingException): a log manager or a logger that the resolver does not have.

    Where upstream throws it, the port panics with it as the payload (std::panic::panic_any), so that a caller that catches the panic can tell it apart.

    View source

    Members

    new

    fn new() -> Self
    

    The exception with the default message (LoggingException()).

    Source

    with_message

    fn with_message(message: impl Into<String>) -> Self
    

    The exception with message (LoggingException(string)).

    Source

    with_inner

    fn with_inner(message: impl Into<String>, inner_exception: Box<dyn Error + Send + Sync>) -> Self
    

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

    Source

    message

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

    The message (Message).

    Source

    inner_exception

    fn inner_exception(self: &Self) -> Option<&dyn Error + Send + Sync>
    

    The exception that caused this one (InnerException).

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToString
    • Debug
    • Default
    • Display
    • Error

    Availability

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