# ValidationErrors

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-reactiveui/reactive_property/enum-validationerrors/

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

```rust
enum ValidationErrors
```

What one validator of a reactive property reports (upstream's `IEnumerable?`), when it reports
errors: `None` is no error.

Deviation (DEVIATIONS.md, ReactiveUI): upstream's validators return an `IEnumerable`, which is
a string for a message, since a string is an `IEnumerable` of characters, and the aggregate
tells the two apart (`is string`). The two cases are the variants of this type, so the
aggregate keeps upstream's order: the messages first, then the errors of the other validators.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI/reactive_property/reactive_property.rs#L40)

## Members

- [`Message`](#variant-message)
- [`Errors`](#variant-errors)

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

### Message

```rust
Message(String)
```

An error message (a `string` validator result).

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

<a id="variant-errors"></a>

### Errors

```rust
Errors(DataErrors)
```

A collection of errors (any other `IEnumerable`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI/reactive_property/reactive_property.rs#L44)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- `Clone`
- `Debug`

## Availability

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