# unable_to_create_view

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-static-view-locator/function-unable_to_create_view/

**function** · [`ferroui-static-view-locator`](/docs/0.5.0/api/ferroui-static-view-locator/) · v0.5.0

```rust
fn unable_to_create_view(view_model_type: &RuntimeType) -> never
```

The failure of the legacy `build` for a view model of a type without a view or a missing-view
entry (`throw new Exception($"Unable to create view for type: {type}")`).

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

## Availability

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