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

Function getErrorKind

src/utils/config-store.ts:166–171  ·  view source on GitHub ↗
(error: unknown)

Source from the content-addressed store, hash-verified

164}
165
166function getErrorKind(error: unknown): string {
167 if (error instanceof Error) {
168 return error.name || 'Error';
169 }
170 return typeof error;
171}
172
173function setIfDefined<K extends keyof RuntimeConfigOverrides>(
174 config: RuntimeConfigOverrides,

Callers 1

initConfigStoreFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected