MCPcopy
hub / github.com/jvilk/BrowserFS / failedToLoad

Method failedToLoad

src/backend/HTML5FS.ts:373–375  ·  view source on GitHub ↗
(err: DOMException)

Source from the content-addressed store, hash-verified

371 };
372 // Called when the path couldn't be opened as a directory or a file.
373 const failedToLoad = (err: DOMException): void => {
374 cb(convertError(err, path, false /* Unknown / irrelevant */));
375 };
376 // Called when the path couldn't be opened as a file, but might still be a
377 // directory.
378 const failedToLoadAsFile = (): void => {

Callers

nothing calls this directly

Calls 2

cbFunction · 0.85
convertErrorFunction · 0.70

Tested by

no test coverage detected