from apiflask import HTTPError class DietRecordNotFound(HTTPError): status_code = 404 message = '找不到用户对应的食物记录'