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  

Returns:

void