Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/facebook/react
/ handleErrors
Function
handleErrors
fixtures/ssr2/server/server.js:73–81 ·
view source on GitHub ↗
(fn)
Source
from the content-addressed store, hash-verified
71
});
72
73
function
handleErrors(fn) {
74
return
async
function
(req, res, next) {
75
try {
76
return
await
fn(req, res);
77
} catch (x) {
78
next(x);
79
}
80
};
81
}
82
83
async
function
waitForWebpack() {
84
while
(true) {
Callers
1
server.js
File · 0.70
Calls
2
fn
Function · 0.50
next
Function · 0.50
Tested by
no test coverage detected