MCPcopy Create free account
hub / github.com/ColmapView/Colmapview.github.io / formatUrlLoadError

Function formatUrlLoadError

src/hooks/urlLoaderErrorHandling.ts:55–57  ·  view source on GitHub ↗
(error: UrlLoadError)

Source from the content-addressed store, hash-verified

53}
54
55export function formatUrlLoadError(error: UrlLoadError): string {
56 return error.message + (error.details ? `: ${error.details}` : '');
57}
58
59export function resolveUrlLoadError(
60 error: unknown,

Callers 2

handleUrlLoadFailureFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected