- From: Kyaw Tun <kyawtun@yathit.com>
- Date: Tue, 30 Apr 2013 12:23:56 +0800
- To: public-webapps@w3.org
Received on Tuesday, 30 April 2013 04:24:24 UTC
In put and add method of object store and index, DataCloneError and DataError are immediately throw before executing IDBRequest. It seems good that exception are throw immediately, but in practical use case, these exception are in async workflow (inside transaction callback). Exception break the async workflow, depending on usage design pattern. Alternatively, these exception could transform into IDBRequest.onerror event. In this ways, we can gracefully handle such unexpected error.
Received on Tuesday, 30 April 2013 04:24:24 UTC