Add has errors method to response.