pzx-web-api/app/api/v1/exception/record.py
BryantHe c30c644f7c
All checks were successful
continuous-integration/drone/push Build is passing
feat: add api of body record
2023-08-12 20:00:38 +08:00

11 lines
227 B
Python

from apiflask import HTTPError
class AddBodyRecordError(HTTPError):
status_code = 500
message = 'add body record failed.'
class BodyRecordNotFound(HTTPError):
status_code = 404
message = '找不到该记录'