Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/heft > IScopedLogger > emitError

IScopedLogger.emitError() method

Call this function to emit an error to the heft runtime.

Signature:

emitError(error: Error): void;

Parameters

ParameterTypeDescription
errorError

Returns:

void