Skip to content

API reference > @kontsedal/olas-core > EmitterErrorReporter

EmitterErrorReporter type ​

Optional escape hatch for emit-time handler throws. If supplied, a thrown handler is reported here and emission continues with the remaining handlers (spec §20.6 — one throwing handler must not block the rest). If absent, the throw is logged via console.error.

Signature:

typescript
type EmitterErrorReporter = (err: unknown) => void;

Released under the MIT License.