<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def dts_error(self, error_name, message=None):
 """ Create a DTS Error reply :param error_name: Name of the error :param message: Message of the Error :return: DTS Error Response with information (JSON) """

        self.nautilus_extension.logger.info("DTS error thrown {} for {} ({})".format(
            error_name, request.path, message
        ))
        j = jsonify({
                "error": error_name,
                "message": message
            })
        j.status_code = 404
        return j