error property

DOMException? get error

If the transaction was aborted, returns the error (a DOMException) providing the reason.

MDN Reference

Implementation

_i3.DOMException? get error => _i4.getProperty(
      this,
      'error',
    );