showError method

void showError()

Implementation

void showError() {
  if (this.failed) {
    Toast.error(this.error.message);
  }
}