Interface ErrorEvents<TMessage>

interface ErrorEvents<TMessage extends Document> {
    error: (err: Error, message?: TMessage, group?: string) => void;
    [key: string]: GenericListener;
}

Type Parameters

  • TMessage extends Document

Hierarchy (View Summary)

Indexable

  • [key: string]: GenericListener

Properties

Properties

error: (err: Error, message?: TMessage, group?: string) => void