MCPcopy Create free account
hub / github.com/zenstackhq/zenstack / handleSubProcessError

Function handleSubProcessError

packages/cli/src/actions/migrate.ts:147–153  ·  view source on GitHub ↗
(err: unknown)

Source from the content-addressed store, hash-verified

145}
146
147function handleSubProcessError(err: unknown) {
148 if (err instanceof Error && 'status' in err && typeof err.status === 'number') {
149 process.exit(err.status);
150 } else {
151 process.exit(1);
152 }
153}

Callers 5

runDevFunction · 0.70
runResetFunction · 0.70
runDeployFunction · 0.70
runStatusFunction · 0.70
runResolveFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected