error

The IDBTransaction.error property of the IDBTransaction interface returns the type of error when there is an unsuccessful transaction.

MDN Reference