Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/emscripten-core/emscripten
/ onError
Method
onError
test/test_emscripten_async_wget2.cpp:295–302 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
293
}
294
295
void http::onError(int error) {
296
printf(
"onError status: %d\n"
,error);
297
298
_error =
""
;
299
_content =
""
;
300
_status = ST_FAILED;
301
_progressValue = -1;
302
}
303
304
/// TEST
305
int num_request = 0;
Callers
1
onError
Method · 0.45
Calls
1
printf
Function · 0.85
Tested by
no test coverage detected