11 matches across 1 files for error lang:JavaScript path:test/Route.js lang:JavaScript
snippet_mode: auto · sorted by relevance
test/Route.js JAVASCRIPT 11 matches · showing 5 view file →
126
127 route.get(function () {
128 throw new Error('not me!');
129 })
130
· · ·
168 })
169
170 describe('errors', function(){
171 it('should handle errors via arity 4 functions', function(done){
172 var req = { order: '', method: 'GET', url: '/' };
· · ·
171 it('should handle errors via arity 4 functions', function(done){
172 var req = { order: '', method: 'GET', url: '/' };
173 var route = new Route('');
· · ·
174
175 route.all(function(req, res, next){
176 next(new Error('foobar'));
177 });
178
· · ·
200
201 route.all(function () {
202 throw new Error('foobar');
203 });
204
+ 6 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.