def __init__(self, errno, message): HTTPError.__init__(self, 599, message) self.errno = errno import requests a = requests.get("google.com", verify=False) print(a)
def __init__(self, errno, message): HTTPError.__init__(self, 599, message) self.errno = errno
def __init__(self, errno: int, message: str) -> None: HTTPError.__init__(self, 599, message) self.errno = errno
def __init__(self, status_code, user_message, log_message=None, *args): HTTPError.__init__(self, status_code, log_message, *args) self.user_message = user_message