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

Function getErrorKind

src/runtime/tool-invoker.ts:273–275  ·  view source on GitHub ↗
(error: unknown)

Source from the content-addressed store, hash-verified

271}
272
273function getErrorKind(error: unknown): string {
274 return error instanceof Error ? error.name || 'Error' : typeof error;
275}
276
277function mapRuntimeToSentryToolRuntime(runtime: InvokeOptions['runtime']): SentryToolRuntime {
278 if (runtime === 'daemon' || runtime === 'mcp') {

Callers 3

invokeViaDaemonMethod · 0.70
executeToolMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected