express-errorstrap

Express Error Handling Middleware

npm install express-errorstrap
1 downloads in the last week
4 downloads in the last month

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

npm loves you