<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@workgrid/micro-app](./micro-app.md) &gt; [MicroAppOptions](./micro-app.microappoptions.md) &gt; [onError](./micro-app.microappoptions.onerror.md)

## MicroAppOptions.onError property

> This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
> 

Custom error handler

<b>Signature:</b>

```typescript
onError?: (...args: any[]) => any;
```
