MCPcopy Create free account
hub / github.com/apache/tvm / getErrorName

Method getErrorName

web/src/opfs_store.ts:555–561  ·  view source on GitHub ↗
(err: unknown)

Source from the content-addressed store, hash-verified

553 }
554
555 private static getErrorName(err: unknown): string | undefined {
556 if (err && typeof err === "object" && "name" in err) {
557 const name = (err as { name?: unknown }).name;
558 return typeof name === "string" ? name : undefined;
559 }
560 return undefined;
561 }
562
563 private getPayloadFilename(baseName: string): string {
564 return `${baseName}.bin`;

Callers 5

readRecordMethod · 0.80
openSyncAccessHandleMethod · 0.80
isNotFoundErrorMethod · 0.80
isCacheMissStateErrorMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected