function renderError(title, error) {
    resultNode.innerHTML = tmpl('tmpl-error', { title: title, error: error })
  }
Renders error messages

@param {string} title Error title
@param {Error} error Error object