MCPcopy Index your code
hub / github.com/getsentry/XcodeBuildMCP / diagnosticsFromErrorMessage

Function diagnosticsFromErrorMessage

src/utils/diagnostics.ts:59–63  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

57}
58
59export function diagnosticsFromErrorMessage(message: string): BasicDiagnostics {
60 return createBasicDiagnostics({
61 errors: [isNonEmptyText(message) ? message : 'Unknown error'],
62 });
63}
64
65export function diagnosticsFromCommandFailure(
66 response: CommandFailureDiagnosticInput,

Callers 2

Calls 2

isNonEmptyTextFunction · 0.85
createBasicDiagnosticsFunction · 0.70

Tested by

no test coverage detected