Class
EventEmitterError
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): EventEmitterErrorParameters
- message: string
OptionaloriginalError: Error
Returns EventEmitterError
Overrides Error.constructor
Properties
OptionaloriginalError
originalError?: Error