Exception.py 125 B

1234
  1. class ApiException(Exception):
  2. def __init__(self, msg: str,code:int=400):
  3. self.msg = msg
  4. self.code = code