Egregious is a rails based exception handling gem for well defined http exception handling for json, xml and html