Add HTTP status 4xx and 5xx error exceptions