Page Contents

Home > @loopback/context > Context > emitError

Context.emitError() method

Emit an error event

Signature:

emitError(err: unknown): void;

Parameters

Parameter Type Description
err unknown Error

Returns:

void