Skip to main content

EventError

Thrown when an event cannot be emitted the way it was asked to be.

@group

Errors/Event

@throws

When an event class without a registrar of its own is given to @EventSource.

Hierarchy

  • Error
    • EventError

Index

Constructors

Properties

Constructors

constructor

  • EventError(message: string, eventClassName: string): EventError
  • Parameters

    • message: string

      The error message.

    • eventClassName: string

      The event class the failure is about.

    Returns EventError

Properties

readonlyeventClassName

eventClassName: string

The name of the event class.

Page Options