MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / errorBox

Function errorBox

packages/cli/src/ui/format.ts:47–52  ·  view source on GitHub ↗
(title: string, hint?: string, suggestion?: string)

Source from the content-addressed store, hash-verified

45}
46
47export function errorBox(title: string, hint?: string, suggestion?: string): void {
48 console.error(`\n${c.error("\u2717")} ${c.bold(title)}`);
49 if (hint) console.error(`\n ${c.dim(hint)}`);
50 if (suggestion) console.error(` ${c.accent(suggestion)}`);
51 console.error();
52}

Callers 15

resolveVariablesArgFunction · 0.85
reportVariableIssuesFunction · 0.85
resolveProjectFunction · 0.85
parseIntFlagFunction · 0.85
parseNumericFlagFunction · 0.85
enforceRangeFunction · 0.85
parseEnumFlagFunction · 0.85
reportApiErrorFunction · 0.85
runFunction · 0.85

Calls 1

errorMethod · 0.80

Tested by

no test coverage detected