error () {
    new window.Noty({ type: 'error', text: this.element.dataset.error }).show()
  }