Add ApiResponseException.

Clients can use this to check the HTTP status code for custom error handling.