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.