<reponame>pulse-net/sockx<filename>sockx/utils/error.py
class CustomException(Exception):
    def __init__(self, message):
        self.__message = message

        super().__init__(self.__message)

    @property
    def message(self):
        return self.__message

class InvalidSocketProtocol(CustomException):
    def __init__(self, message):
        super().__init__(message=message)

class OperationNotSupported(CustomException):
    def __init__(self, message):
        super().__init__(message=message)



class ConnectionFailure(CustomException):
    def __init__(self, message):
        super().__init__(message=message)
class CustomException(Exception):
    def __init__(self, message):
        self.__message = message

        super().__init__(self.__message)

    @property
    def message(self):
        return self.__message

class InvalidSocketProtocol(CustomException):
    def __init__(self, message):
        super().__init__(message=message)

class OperationNotSupported(CustomException):
    def __init__(self, message):
        super().__init__(message=message)



class ConnectionFailure(CustomException):
    def __init__(self, message):
        super().__init__(message=message)