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
Home > @loopback/context > Context > emitError
Emit an error
event
Signature:
emitError(err: unknown): void;
Parameter | Type | Description |
---|---|---|
err | unknown | Error |
Returns:
void