Implement response error handling