MCPcopy
hub / github.com/QwikDev/qwik / panic

Function panic

scripts/util.ts:286–290  ·  view source on GitHub ↗
(msg: string | Error)

Source from the content-addressed store, hash-verified

284}
285
286export function panic(msg: string | Error) {
287 const err = typeof msg === 'string' ? new Error(msg) : msg;
288 console.error(`\n❌ `, err);
289 process.exit(1);
290}
291
292/** Interface for package.json */
293export interface PackageJSON {

Callers 15

buildQwikAuthFunction · 0.90
tscQwikFunction · 0.90
tscQwikCityFunction · 0.90
tscFunction · 0.90
buildQwikWorkerFunction · 0.90
tscDocsFunction · 0.90
buildSupabaseAuthHelpersFunction · 0.90
validateCreateQwikCliFunction · 0.90
buildQwikLabsFunction · 0.90
buildQwikReactFunction · 0.90
buildRuntimeFunction · 0.90
createTypesApiFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…