# ErrorInstrumentationConfig

**Kind**: interface | **Module**: [Insights](https://docs.interop.io/desktop/reference/javascript/insights/index.md)

**Source**: https://docs.interop.io/desktop/reference/javascript/insights/errorinstrumentationconfig/index.html

## Properties

- **`enabled`** (`boolean`, required)
  Whether uncaught errors and unhandled promise rejections are published
  as error spans.
- **`preInit`** (`boolean`, optional) default: `true`
  Unless `false`, the pre-init recorder (installEarlyInstrumentation from
