# EventEmitterError · FT4 TypeScript client · Chromia Docs (concept)

> An error that occurs in an event emitter listener.
This error wraps the original error that occurred during event handling. Hierarchy Error EventEmitterErr

Source: https://docs.chromia.com/pages/ft4-ts-client/classes/events.EventEmitterError/

Class

# EventEmitterError

On this page

* [Constructors](#constructors)
* [constructor](#constructor)
* [Properties](#properties)
* [Optional originalError](#originalerror)

An error that occurs in an event emitter listener.
This error wraps the original error that occurred during event handling.

#### Hierarchy

* Error
  + EventEmitterError

## Constructors

### constructor

* ```signature
  new EventEmitterError(message: string, originalError?: Error): EventEmitterError
  ```

  #### Parameters

  + message: string
  + `Optional`originalError: Error

  #### Returns [EventEmitterError](https://docs.chromia.com/pages/ft4-ts-client/classes/events.EventEmitterError/)

  Overrides Error.constructor

## Properties

### `Optional`originalError

```signature
originalError?: Error
```

[View this page on docs.chromia.com](https://docs.chromia.com/pages/ft4-ts-client/classes/events.EventEmitterError.html)Generated API reference, mirrored from the live docs
