Provide the response json to the error handler
Documentation on using the json response
Merge pull request #48 from 1uptalent/error_handling

Provide the response json to the error handler.
Removed trailing whitespace and normalized to use space chars, never tabs