Add generic error handling to main API views