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