# BindingChainError

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-base/data/struct-bindingchainerror/

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

```rust
struct BindingChainError
```

An error that signals that a binding chain is broken: the value could not
be read at some point of the binding path.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/data/binding_chain_exception.rs#L6)

## Members

- [`new`](#function-new)
- [`with_message`](#function-with_message)
- [`with_expression`](#function-with_expression)
- [`expression`](#function-expression)
- [`set_expression`](#function-set_expression)
- [`expression_error_point`](#function-expression_error_point)
- [`set_expression_error_point`](#function-set_expression_error_point)
- [`message`](#function-message)

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

### new

```rust
fn new() -> Self
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/data/binding_chain_exception.rs#L17)

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

### with_message

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



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/data/binding_chain_exception.rs#L21)

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

### with_expression

```rust
fn with_expression(message: impl Into<String>, expression: impl Into<String>, error_point: impl Into<String>) -> Self
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/data/binding_chain_exception.rs#L25)

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

### expression

```rust
fn expression(self: &Self) -> Option<&str>
```

The expression that could not be evaluated.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/data/binding_chain_exception.rs#L38)

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

### set_expression

```rust
fn set_expression(self: &mut Self, value: Option<String>)
```

Sets the expression that could not be evaluated (the protected setter of `Expression`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/data/binding_chain_exception.rs#L43)

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

### expression_error_point

```rust
fn expression_error_point(self: &Self) -> Option<&str>
```

The point in the expression at which the error occurred.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/data/binding_chain_exception.rs#L48)

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

### set_expression_error_point

```rust
fn set_expression_error_point(self: &mut Self, value: Option<String>)
```

Sets the point in the expression at which the error occurred (the protected setter of
`ExpressionErrorPoint`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/data/binding_chain_exception.rs#L54)

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

### message

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

The full message, including the expression and error point.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/data/binding_chain_exception.rs#L59)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- `ToString`
- `ErasedDestructor`
- `IntoEither`
- `Clone`
- `Debug`
- `Default`
- `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/).
