# TranslationError

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-protranslate-core/enum-translationerror/

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

```rust
enum TranslationError
```

A recoverable error from culture parsing, providers, formatting, or units.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/ProTranslate/FerroUI.ProTranslate.Core/error.rs#L5)

## Members

- [`InvalidCulture`](#variant-invalidculture)
- [`InvalidKey`](#variant-invalidkey)
- [`InvalidProviderName`](#variant-invalidprovidername)
- [`Disposed`](#variant-disposed)
- [`Provider`](#variant-provider)
- [`Format`](#variant-format)
- [`Region`](#variant-region)
- [`IncompatibleUnits`](#variant-incompatibleunits)
- [`UnsupportedProfileUnit`](#variant-unsupportedprofileunit)

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

### InvalidCulture

```rust
InvalidCulture(String)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/ProTranslate/FerroUI.ProTranslate.Core/error.rs#L6)

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

### InvalidKey

```rust
InvalidKey
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/ProTranslate/FerroUI.ProTranslate.Core/error.rs#L7)

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

### InvalidProviderName

```rust
InvalidProviderName
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/ProTranslate/FerroUI.ProTranslate.Core/error.rs#L8)

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

### Disposed

```rust
Disposed
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/ProTranslate/FerroUI.ProTranslate.Core/error.rs#L9)

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

### Provider

```rust
Provider(String)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/ProTranslate/FerroUI.ProTranslate.Core/error.rs#L10)

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

### Format

```rust
Format(String)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/ProTranslate/FerroUI.ProTranslate.Core/error.rs#L11)

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

### Region

```rust
Region(String)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/ProTranslate/FerroUI.ProTranslate.Core/error.rs#L12)

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

### IncompatibleUnits

```rust
IncompatibleUnits
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/ProTranslate/FerroUI.ProTranslate.Core/error.rs#L13)

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

### UnsupportedProfileUnit

```rust
UnsupportedProfileUnit(String)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/ProTranslate/FerroUI.ProTranslate.Core/error.rs#L14)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- `ToString`
- `ErasedDestructor`
- `IntoEither`
- `Debug`
- `Clone`
- `StructuralPartialEq`
- `PartialEq`
- `Eq`
- `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/).
