Docs
chromia.com

Class

EventEmitterError

On this page

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

  • new EventEmitterError(message: string, originalError?: Error): EventEmitterError

    Parameters

    • message: string
    • OptionaloriginalError: Error

    Returns EventEmitterError

    Overrides Error.constructor

Properties

OptionaloriginalError

originalError?: Error