# UnhandledInteractionError

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-reactiveui/binding/interactions/struct-unhandledinteractionerror/

**struct** · [`ferroui-reactiveui`](/docs/0.5.0/api/ferroui-reactiveui/) · v0.5.0

```rust
struct UnhandledInteractionError<I, O>
```

The error of an interaction that no handler handled (`UnhandledInteractionException<TInput, TOutput>`).

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI/binding/interactions/unhandled_interaction_exception.rs#L10)

## Members

- [`new`](#function-new)
- [`empty`](#function-empty)
- [`with_message`](#function-with_message)
- [`with_inner`](#function-with_inner)
- [`message`](#function-message)
- [`inner_exception`](#function-inner_exception)
- [`interaction`](#function-interaction)
- [`input`](#function-input)

<a id="function-new"></a>

### new

```rust
fn new(interaction: Interaction<I, O>, input: I) -> Self
```

The error of `interaction`, which no handler handled for `input`
(`UnhandledInteractionException(Interaction<TInput, TOutput>, TInput)`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI/binding/interactions/unhandled_interaction_exception.rs#L24)

<a id="function-empty"></a>

### empty

```rust
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.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI/binding/interactions/unhandled_interaction_exception.rs#L36)

<a id="function-with_message"></a>

### with_message

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

An error with `message` (`UnhandledInteractionException(string)`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI/binding/interactions/unhandled_interaction_exception.rs#L42)

<a id="function-with_inner"></a>

### with_inner

```rust
fn with_inner(message: impl Into<String>, inner_exception: ObservableError) -> Self
```

An error with `message`, caused by `inner_exception`
(`UnhandledInteractionException(string, Exception)`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI/binding/interactions/unhandled_interaction_exception.rs#L48)

<a id="function-message"></a>

### message

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

The message (`Message`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI/binding/interactions/unhandled_interaction_exception.rs#L53)

<a id="function-inner_exception"></a>

### inner_exception

```rust
fn inner_exception(self: &Self) -> Option<&ObservableError>
```

The error that caused this one (`InnerException`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI/binding/interactions/unhandled_interaction_exception.rs#L58)

<a id="function-interaction"></a>

### interaction

```rust
fn interaction(self: &Self) -> Option<&Interaction<I, O>>
```

The interaction that no handler handled, if the error names one (`Interaction`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI/binding/interactions/unhandled_interaction_exception.rs#L63)

<a id="function-input"></a>

### input

```rust
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).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI/binding/interactions/unhandled_interaction_exception.rs#L69)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToString`
- `Default`
- `Debug`
- `Display`
- [`Error`](/docs/0.5.0/api/ferroui-dynamic-data/kernel/struct-error/)

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
