11 lines
227 B
Python
11 lines
227 B
Python
|
from apiflask import HTTPError
|
||
|
|
||
|
|
||
|
class UserInfoNotFound(HTTPError):
|
||
|
status_code = 404
|
||
|
message = '查询用户信息失败'
|
||
|
|
||
|
|
||
|
class UserInfoError(HTTPError):
|
||
|
status_code = 500
|
||
|
message = '设置用户信息失败'
|