# TestException

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-reactive-testing/function-testexception/

**function** · [`ferroui-reactive-testing`](/docs/0.5.0/api/ferroui-reactive-testing/) · v0.5.0

```rust
fn TestException(message: String) -> TestError
```

The constructor of the tuple struct [`TestError`](/docs/0.5.0/api/ferroui-reactive-testing/struct-testerror/) under its name before 0.5.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Reactive.Testing/lib.rs#L264)

> **Deprecated since 0.5.0.** use `TestError`

## Availability

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