MCPcopy Create free account
hub / github.com/webpack/webpack-cli / onFailureHandler

Function onFailureHandler

packages/create-webpack-app/src/utils/logger.ts:50–52  ·  view source on GitHub ↗
(failure: PlopActionHooksFailures)

Source from the content-addressed store, hash-verified

48}
49
50function onFailureHandler(failure: PlopActionHooksFailures): void {
51 throw new Error(failure.error);
52}
53
54export { logger, onFailureHandler, onSuccessHandler };

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected