
"""
    core/exceptions.py

    useful custom exceptions for
    different cases

    author: @alexzander
"""


class core_Exception(Exception):
    def __init__(self, message=""):
        self.message = message


class HTTP_RequestError(core_Exception):
    """ handles the http stuff"""
    pass


class NotFound_404_Error(HTTP_RequestError):
    """ 404 http error """
    pass


class Forbidden_403_Error(HTTP_RequestError):
    """ 403 http error """
    pass


class StupidCodeError(core_Exception):
    pass


class StopRecursiveError(core_Exception):
    pass


class NotFoundError(core_Exception):
    pass