18 matches across 1 files for error path:test/Router.js lang:JavaScript path:test/Router.js
snippet_mode: auto · sorted by relevance
test/Router.js JAVASCRIPT 18 matches · showing 5 view file →
46
47 router.use(function (req, res) {
48 throw new Error('should not be called')
49 });
50
· · ·
56
57 router.use(function (req, res) {
58 throw new Error('should not be called')
59 })
60
· · ·
68 var use = false
69
70 route.post(function (req, res, next) { next(new Error('should not run')) })
71 route.all(function (req, res, next) {
72 all = true
· · ·
73 next()
74 })
75 route.get(function (req, res, next) { next(new Error('should not run')) })
76
77 router.get('/foo', function (req, res, next) { next(new Error('should not run')) })
· · ·
77 router.get('/foo', function (req, res, next) { next(new Error('should not run')) })
78 router.use(function (req, res, next) {
79 use = true
+ 13 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.