Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
202
const
failOnError =
function
(done: (err: Error, res?: string) => void) {
203
return
(e) => done(e);
204
};
Callers
12
test_fetch
Function · 0.85
test_fetch_text
Function · 0.85
test_fetch_json
Function · 0.85
test_fetch_formData
Function · 0.85
test_fetch_blob
Function · 0.85
test_fetch_arraybuffer
Function · 0.85
test_fetch_fail_invalid_url
Function · 0.85
test_fetch_response_status
Function · 0.85
test_fetch_response_headers
Function · 0.85
test_fetch_headers_sent
Function · 0.85
test_fetch_post_form_data
Function · 0.85
test_fetch_post_json
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected