MCPcopy Create free account
hub / github.com/apache/maka / normalizeFailure

Method normalizeFailure

packages/runtime/src/model-adapter.ts:493–495  ·  view source on GitHub ↗
(error: unknown)

Source from the content-addressed store, hash-verified

491 }
492
493 normalizeFailure(error: unknown): ModelFailure {
494 return normalizeProviderFailure(error);
495 }
496
497 classifyError(error: unknown): string {
498 if (isModelFailure(error)) return errorClassFromFailureKind(error.kind);

Callers 2

sendWithinScopeMethod · 0.80

Calls 1

normalizeProviderFailureFunction · 0.85

Tested by

no test coverage detected