asap/weather-wizard — pull request #2 by dirn (2013-12-27 15:57:27+00:00)
Title: Simplify HTTP error handling

All of the error handlers return the same data structure. The other difference between them is the content, all of which is containing in the error object. This allows for all of the errors to be handled by the same function.