<filename>clean_architecture/exception/not_acceptable_exception.py
from .exception import BasicException


class NotAcceptableException(BasicException):

    def __init__(self, message, error_code=None):
        BasicException.__init__(self)
        self.status_code = 406
        self.error_code = error_code
        self.message = message

<filename>clean_architecture/exception/not_acceptable_exception.py
from .exception import BasicException


class NotAcceptableException(BasicException):

    def __init__(self, message, error_code=None):
        BasicException.__init__(self)
        self.status_code = 406
        self.error_code = error_code
        self.message = message
