code: def dts_error(self, error_name, message=None):
          
          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
docs: 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)