code: def cts_error(self, error_name, message=None):
          
          self.nautilus_extension.logger.info(
              "CTS error thrown {} for {} ({})".format(
                  error_name,
                  request.query_string.decode(),
                  message)
          )
          return render_template(
              "cts/Error.xml",
              errorType=error_name,
              message=message
          ), 404, {"content-type": "application/xml"}
docs: Create a CTS Error reply
  
          :param error_name: Name of the error
          :param message: Message of the Error
          :return: CTS Error Response with information (XML)