function handleSvgData (data, error) {
  if (error) {
    // Todo: This should be replaced with a general purpose dialog alert library call
    alert('error ' + error);
  } else {
    // Todo: This should be replaced with a general purpose dialog alert library call
    alert('Congratulations. Your SVG string is back in the host page, do with it what you will\n\n' + data);
  }
}
@param {string} data
@param {string} error
@returns {void}