When we want to handle IndexedDB errors on the transaction level, we have two options: onabort and onerror handlers.
What is the difference between them?
MDN isn't very helpful; it only says:
Consider using
IDBTransaction.onabortinstead to handle non- successful completion of the transaction.
Does this mean that onerror handler would handle only a subset of errors which would be handled by the onabort handler?