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