MCPcopy Create free account
hub / github.com/massCodeIO/massCode / getNestedCause

Function getNestedCause

src/main/ipc/handlers/http.ts:240–242  ·  view source on GitHub ↗
(error: unknown)

Source from the content-addressed store, hash-verified

238}
239
240function getNestedCause(error: unknown): Record<string, unknown> | null {
241 return asRecord(asRecord(error)?.cause)
242}
243
244function collectErrorCandidates(
245 error: unknown,

Callers 1

formatHttpRequestErrorFunction · 0.85

Calls 1

asRecordFunction · 0.70

Tested by

no test coverage detected