{"json_modified": "2016-06-30T02:27:19.665140", "uuid": "1ed0a5a6-629d-4853-8474-a78adf424588", "title": "IDBTransaction.onerror", "url": "/en-US/docs/Web/API/IDBTransaction/onerror", "tags": ["API", "storage", "IndexedDB", "Reference", "Property", "Database", "IDBTransaction", "onerror", "Storage"], "translations": [{"uuid": "24ad8794-598a-4064-b3dc-8329e958ebd2", "title": "IDBTransaction.onerror", "url": "/fr/docs/Web/API/IDBTransaction/onerror", "tags": ["R\u00e9f\u00e9rence", "API", "IndexedDB", "Propri\u00e9t\u00e9"], "summary": "Le gestionnaire d'\u00e9v\u00e9nement onerror
, rattach\u00e9 \u00e0 l'interface IDBTransaction
, s'ex\u00e9cute au d\u00e9clenchement d'un \u00e9v\u00e9nement error
lorsque la transaction \u00e9choue.", "localization_tags": [], "locale": "fr", "last_edit": "2016-06-30T02:27:11", "review_tags": []}], "modified": "2016-03-11T08:56:37", "label": "IDBTransaction.onerror", "localization_tags": [], "locale": "en-US", "id": 84447, "last_edit": "2016-03-11T08:56:33", "summary": "In the following code snippet, we open a read/write transaction on our database and add some data to an object store. Note also the functions attached to transaction event handlers to report on the outcome of the transaction opening in the event of success or failure. Note the\u00a0transaction.onerror = function(event) { };
\u00a0block, making use of\u00a0transaction.error
\u00a0to help in reporting what went wrong when the transaction was unsuccessful. For a full working example, see our\u00a0To-do Notifications\u00a0app (view example live.)", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Example", "title": "Example"}, {"id": "Specification", "title": "Specification"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "slug": "Web/API/IDBTransaction/onerror", "review_tags": []}