ViewLocatorNotFoundError
struct · ferroui-reactiveui · v0.5.0
struct ViewLocatorNotFoundError
The error of ViewLocator::current when no
IViewLocator is registered (ViewLocatorNotFoundException); it is the
payload of the panic (std::panic::panic_any).
Deviation (DEVIATIONS.md, ReactiveUI): the inner exception is kept as its message, so that the
error can be the payload of a panic, which has to be Send.
Members
new
fn new() -> Self
The exception with a message that names the builder calls registering the default locator
(ViewLocatorNotFoundException()).
with_message
fn with_message(message: impl Into<String>) -> Self
The exception with message (ViewLocatorNotFoundException(string)).
with_inner
fn with_inner(message: impl Into<String>, inner_exception: &dyn Error) -> Self
The exception with message, caused by inner_exception
(ViewLocatorNotFoundException(string, Exception)).
message
fn message(self: &Self) -> &str
The message (Message).
inner_exception
fn inner_exception(self: &Self) -> Option<&str>
The message of the error that caused this one (InnerException.Message).
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedToStringCloneDebugStructuralPartialEqPartialEqEqDefaultDisplayError
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.