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

Function error

packages/update/src/utils.ts:27–31  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

25}
26
27export function error(message: string): never {
28 // deno-lint-ignore no-console
29 console.error(`%cerror%c: ${message}`, "color: red; font-weight: bold", "");
30 Deno.exit(1);
31}

Callers 2

mod.tsFile · 0.90
ensureMinDenoVersionFunction · 0.70

Calls 1

errorMethod · 0.80

Tested by

no test coverage detected