from apiflask import HTTPError
class AuthError(HTTPError):
status_code = 403
message = '请登陆'
class WechatLoginError(HTTPError):
status_code = 500
message = '微信登录失败'