replace new Error with carcass.httpError() and also use res.send() instead of res.json()
typo
use res.json instead of res.send and also added proper status code
typo
typo remote one line
Merge pull request #3 from xufeng123/master

Use carcass.httpError() and fix usage of res.json().