onerror
Summary
The event handler for the error event.
Property of apis/indexeddb/IDBTransactionapis/indexeddb/IDBTransaction
Syntax
var result = element.onerror;
element.onerror = value;
Return Value
Returns an object of type functionfunction
Attributions
Mozilla Developer Network : Article