12 lines
222 B
Python
12 lines
222 B
Python
|
from apiflask import HTTPError
|
||
|
|
||
|
|
||
|
class ImageUploadError(HTTPError):
|
||
|
status_code = 500
|
||
|
message = '上传图片失败'
|
||
|
|
||
|
|
||
|
class UserInfoError(HTTPError):
|
||
|
status_code = 500
|
||
|
message = '设置用户信息失败'
|