MCPcopy
hub / github.com/teambit/bit / default-error-handler.ts

File default-error-handler.ts

src/cli/default-error-handler.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// all errors that the command does not handle comes to this switch statement
2// if you handle the error, then return true
3import chalk from 'chalk';
4import { paintSpecsResults } from './chalk-box';

Callers

nothing calls this directly

Calls 12

componentIssuesTemplateFunction · 0.85
newerVersionTemplateFunction · 0.85
getExternalErrorMessageFunction · 0.85
findErrorDefinitionFunction · 0.85
sendToAnalyticsAndSentryFunction · 0.85
getErrMsgFunction · 0.85
getErrorMessageMethod · 0.80
sillyMethod · 0.80
errorMethod · 0.65
toStringMethod · 0.45

Tested by

no test coverage detected