MCPcopy
hub / github.com/freshframework/fresh / error

Function error

packages/init/src/init.ts:31–34  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

29export class InitError extends Error {}
30
31function error(message: string): never {
32 console.error(`%cerror%c: ${message}`, "color: red; font-weight: bold", "");
33 throw new InitError();
34}
35
36export const HELP_TEXT = `
37${

Callers 1

initProjectFunction · 0.70

Calls 1

errorMethod · 0.80

Tested by

no test coverage detected