33 matches across 1 files for error path:test/app.router.js path:test/app.router.js lang:JavaScript
snippet_mode: auto · sorted by relevance
test/app.router.js JAVASCRIPT 33 matches · showing 5 view file →
917 app.get('/foo', function (req, res, next) {
918 calls.push('/foo');
919 next(new Error('fail'));
920 });
921
· · ·
927 res.json({
928 calls: calls,
929 error: err.message
930 })
931 })
· · ·
933 request(app)
934 .get('/foo')
935 .expect(200, { calls: ['/foo/:bar?', '/foo'], error: 'fail' }, done)
936 })
937
· · ·
940
941 function fn1(req, res, next) {
942 next(new Error('boom!'));
943 }
944
· · ·
954
955 app.use(function (err, req, res, next) {
956 res.end('error!');
957 })
958
+ 28 more matches in this file
Search syntax
auth loginboth terms (AND is implicit)
auth OR logineither term
NOT path:vendorexclude matches
"exact phrase"quoted exact match
/func\s+Test/regex
handler~1fuzzy (Levenshtein 1)
file:*_test.gofilename glob
path:pkg/auth/**full path glob
lang:golanguage filter

Search any public repo from your terminal

This page calls POST /api/v1/code_search. Same tool, available over MCP for Claude/Cursor/Copilot.