Caching all errors and translating that into a JSON response. The web API should never crash because of bad input.