UnhandledInteractionError
struct · ferroui-reactiveui · v0.5.0
struct UnhandledInteractionError<I, O>
The error of an interaction that no handler handled (UnhandledInteractionException<TInput, TOutput>).
Members
new
fn new(interaction: Interaction<I, O>, input: I) -> Self
The error of interaction, which no handler handled for input
(UnhandledInteractionException(Interaction<TInput, TOutput>, TInput)).
empty
fn empty() -> Self
An error without an interaction (UnhandledInteractionException()), with the default
message of an exception. The message names the type as it was named before 0.5
(UnhandledInteractionException), so that it stays the same.
with_message
fn with_message(message: impl Into<String>) -> Self
An error with message (UnhandledInteractionException(string)).
with_inner
fn with_inner(message: impl Into<String>, inner_exception: ObservableError) -> Self
An error with message, caused by inner_exception
(UnhandledInteractionException(string, Exception)).
message
fn message(self: &Self) -> &str
The message (Message).
inner_exception
fn inner_exception(self: &Self) -> Option<&ObservableError>
The error that caused this one (InnerException).
interaction
fn interaction(self: &Self) -> Option<&Interaction<I, O>>
The interaction that no handler handled, if the error names one (Interaction).
input
fn input(self: &Self) -> Option<&I>
The input of the interaction that no handler handled, if the error names one (Input;
default upstream when it does not).
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyToStringDefaultDebugDisplayError
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.