» 
/Users/jacob/projects/errorface

TypeError: Object function app(req, res){ app.handle(req, res); } has no method 'doesntExist'

/test/util/testServer.coffee

11     app.get("/", function(req, res) {12       return res.send("Hello World");13     });14     app.get("/error", function(req, res, next) {15       return app.doesntExist();16     });17     app.get("/*", function(req, res) {18       throw new Error("Not Found");19     });

[module]/express/lib/router/index.js

158         } else if (err && fn) {159           if (fn.length < 4) return callbacks(err);160           fn(err, req, res, callbacks);161         } else if (fn) {162           fn(req, res, callbacks);163         } else {164           nextRoute(err);165         }166       } catch (err) {

[module]/express/lib/router/index.js

132         } else if (key) {133           param();134         } else {135           i = 0;136           callbacks();137         }138       } catch (err) {139         param(err);140       }

[module]/express/lib/router/index.js

139         param(err);140       }141     };142 143     param(err);144 145     // single param callbacks146     function paramCallback(err) {147       var fn = paramCallbacks[paramIndex++];

[module]/express/lib/router/index.js

166       } catch (err) {167         callbacks(err);168       }169     }170   })(0);171 };172 173 /**174  * Attempt to match a route for `req`

[module]/express/lib/router/index.js

29   this._params = [];30   this.caseSensitive = options.caseSensitive;31   this.strict = options.strict;32   this.middleware = function router(req, res, next){33     self._dispatch(req, res, next);34   };35 }36 37 /**

[module]/express/node_modules/connect/lib/proto.js

186 var env = process.env.NODE_ENV || 'development';187 188 /**189  * Utilize the given middleware `handle` to the given `route`,190  * defaulting to _/_. This "route" is the mount-point for the191  * middleware, when given a value other than _/_ the middleware192  * is only effective when that segment is present in the request's193  * pathname.194  *

[module]/express/lib/middleware.js

27     res.__proto__ = app.response;28 29     res.locals = res.locals || utils.locals(res);30 31     next();32   }33 };34 

[module]/express/node_modules/connect/lib/proto.js

186 var env = process.env.NODE_ENV || 'development';187 188 /**189  * Utilize the given middleware `handle` to the given `route`,190  * defaulting to _/_. This "route" is the mount-point for the191  * middleware, when given a value other than _/_ the middleware192  * is only effective when that segment is present in the request's193  * pathname.194  *

[module]/express/node_modules/connect/lib/middleware/query.js

40         ? qs.parse(parse(req).query, options)41         : {};42     }43 44     next();45   };46 };47 
15
/test/util/testServer.coffee
return app.doesntExist();
162
[module]/express/lib/router/index.js
fn(req, res, callbacks);
136
[module]/express/lib/router/index.js
callbacks();
143
[module]/express/lib/router/index.js
param(err);
170
[module]/express/lib/router/index.js
})(0);
33
[module]/express/lib/router/index.js
self._dispatch(req, res, next);
190
[module]/express/node_modules/connect/lib/proto.js
* defaulting to _/_. This "route" is the mount-point for the
31
[module]/express/lib/middleware.js
next();
190
[module]/express/node_modules/connect/lib/proto.js
* defaulting to _/_. This "route" is the mount-point for the
44
[module]/express/node_modules/connect/lib/middleware/query.js
next();