Skip to main content
EventEmitter.errorMonitor - node__events.d.ts - Node documentation
property EventEmitter.errorMonitor

Usage in Deno

```typescript import { EventEmitter } from "node:node__events.d.ts"; ```
This symbol shall be used to install a listener for only monitoring `'error'` events. Listeners installed using this symbol are called before the regular `'error'` listeners are called. Installing a listener using this symbol does not change the behavior once an `'error'` event is emitted. Therefore, the process will still crash if no regular `'error'` listener is installed.

Type

unique symbol