Rush StackShopBlogEvents
Skip to main content

Home > @microsoft/rush-lib > ILogger > emitError

ILogger.emitError() method

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

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

Signature:

emitError(error: Error): void;

Parameters

ParameterTypeDescription
errorError

Returns:

void