<gh_stars>1-10
class ChampyonGGError(Exception):
    """Generic exception for a failure within ChampyonGG"""
    pass


class APIError(Exception):
    """"
    message       str    the error message
    error_code    int    the HTTP error code that was received
    """
    def __init__(self, message, error_code):
        super().__init__(message)
        self.message = message
        self.error_code = error_code

class ChampyonGGError(Exception):
    """Generic exception for a failure within ChampyonGG"""
    pass


class APIError(Exception):
    """"
    message       str    the error message
    error_code    int    the HTTP error code that was received
    """
    def __init__(self, message, error_code):
        super().__init__(message)
        self.message = message
        self.error_code = error_code
Generic exception for a failure within ChampyonGG "     message       str    the error message     error_code    int    the HTTP error code that was received