cqwu-ehall/cqwu/errors/epay.py
brian 17b1f9bd55
Support BaseModel for get_calendar (#5)
*  Support gen_pay_qrcode raise error

*  Support BaseModel for get_calendar

---------

Co-authored-by: brian <brian@xtaolabs.com>
2023-03-17 20:12:45 +08:00

11 lines
181 B
Python

from .base import CQWUEhallError
class EPayError(CQWUEhallError):
pass
class EPayQrCodeError(EPayError):
def __init__(self, qrcode: bytes):
self.qrcode = qrcode