node package manager
Loosely couple your services. Use Orgs to version and reuse your code. Create a free org »

express-errorstrap

Express-ErrorStrap

HTML, JSON & Text Error Response Handling Machine.

var es = require('express-errorstrap');
 
app.configure(function() {
  app.use(app.router);
  app.use(es.notFound);
  app.use(es.error);
});

For an example, take a look at test.js.

Licence

MIT