Raise NotUniqueError in Document.update() on pymongo.errors.DuplicateKeyError

At this time there is no way to determine whether an update failed due to non-unique field value in a document.