MCPcopy Index your code
hub / github.com/NativeScript/NativeScript / failOnError

Function failOnError

apps/automated/src/fetch/fetch-tests.ts:202–204  ·  view source on GitHub ↗
(done: (err: Error, res?: string) => void)

Source from the content-addressed store, hash-verified

200};
201
202const failOnError = function (done: (err: Error, res?: string) => void) {
203 return (e) => done(e);
204};

Callers 12

test_fetchFunction · 0.85
test_fetch_textFunction · 0.85
test_fetch_jsonFunction · 0.85
test_fetch_formDataFunction · 0.85
test_fetch_blobFunction · 0.85
test_fetch_arraybufferFunction · 0.85
test_fetch_headers_sentFunction · 0.85
test_fetch_post_jsonFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected