350 matches across 25 files for error lang:JavaScript lang:JavaScript lang:JavaScript
snippet_mode: summary · sorted by relevance
16▶var createError = require('http-errors')
+ 22 more matches in this file
146▶ * If no callback is provided, then default error handlers will respond
+ 11 more matches in this file
31▶ var err = req.session.error;
+ 4 more matches in this file
32▶ next(new Error('Failed to load user ' + req.params.id));
+ 4 more matches in this file
11▶// create an error with .status. we
+ 8 more matches in this file
61▶ throw new Error('No default engine was specified and no extension was provided.');
+ 1 more matches in this file
148▶ throw new TypeError('unknown value for etag function: ' + val);
+ 1 more matches in this file
7▶var createError = require('http-errors')
+ 2 more matches in this file
19▶// set views for error and 404 pages
+ 2 more matches in this file
63▶ throw new Error('unrecognized route: ' + name + '.' + key);
14▶// error handling middleware have an arity of 4
+ 10 more matches in this file
66▶ throw new TypeError('name argument is required to req.get');
+ 1 more matches in this file
46▶ res.send(users[req.params.id] || { error: 'Cannot find user' });
+ 1 more matches in this file
22▶// delegating errors to next(err)
43▶ console.error('Error initializing Redis:', err);
+ 1 more matches in this file
20▶ var err = new Error('cannot find user ' + id);
29▶ if (err.status !== 404) return next(err); // non-404 error
17▶// our custom "verbose errors" setting
+ 19 more matches in this file
61▶ it('should handle render error throws', function(done){
+ 5 more matches in this file
919▶ next(new Error('fail'));
+ 32 more matches in this file
48▶ throw new Error('should not be called')
+ 17 more matches in this file
43▶ // The old node error message modification in body parser is catching this
+ 29 more matches in this file
149▶ it('should not error when inflating', function (done) {
+ 9 more matches in this file
128▶ throw new Error('not me!');
+ 10 more matches in this file
306▶ it('should not error when inflating', function (done) {
+ 15 more matches in this file
Search syntax
auth login | both terms (AND is implicit) |
auth OR login | either term |
NOT path:vendor | exclude matches |
"exact phrase" | quoted exact match |
/func\s+Test/ | regex |
handler~1 | fuzzy (Levenshtein 1) |
file:*_test.go | filename glob |
path:pkg/auth/** | full path glob |
lang:go | language 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.