My node.js app is modeled like the express/examples/mvc app.
In a controller action I want to spit out a HTTP 400 status with a custom http message. By default the
You can use it like this
return res.status(400).json({'error':'User already exists.'});