Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/facebook/react
/ handleErrors
Function
handleErrors
fixtures/fizz/server/server.js:86–94 ·
view source on GitHub ↗
(fn)
Source
from the content-addressed store, hash-verified
84
});
85
86
function
handleErrors(fn) {
87
return
async
function
(req, res, next) {
88
try {
89
return
await
fn(req, res);
90
} catch (x) {
91
next(x);
92
}
93
};
94
}
95
96
async
function
waitForWebpack() {
97
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