code: function presentErrorMsg (errorCode) {
      const msg = window._i18n.t(errorCode)
      let wfLoadingModal = document.getElementById('wf-loading-modal')
      wfLoadingModal.className = `wf wf-theme-${theme}` // cancel flicker animation
  
      let msgSpan = wfLoadingModal.children[1]
      msgSpan.innerHTML = msg
      msgSpan.style.color = 'red'
    }
docs: /*
  Configs Validation