MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / storeError

Function storeError

src/Fetch.js:819–828  ·  view source on GitHub ↗
(fetch, xhr, e)

Source from the content-addressed store, hash-verified

817 });
818 };
819 var storeError = (fetch, xhr, e) => {
820#if FETCH_DEBUG
821 dbg('fetch: IndexedDB store failed.');
822#endif
823 {{{ runtimeKeepalivePop() }}}
824 doCallback(() => {
825 if (onsuccess) {{{ makeDynCall('vp', 'onsuccess') }}}(fetch);
826 else successcb?.(fetch);
827 });
828 };
829 fetchCacheData(Fetch.dbInstance, fetch, xhr.response, storeSuccess, storeError);
830 };
831

Callers

nothing calls this directly

Calls 4

runtimeKeepalivePopFunction · 0.85
makeDynCallFunction · 0.85
doCallbackFunction · 0.70
dbgFunction · 0.50

Tested by

no test coverage detected