Re: [w3c/IndexedDB] Specify the error code for failures when reading a value from disk (PR #430)

@abhishek-shanthkumar commented on this pull request.



> @@ -5642,7 +5649,8 @@ To <dfn>retrieve a value from an object store</dfn> with
 
 1. If |record| was not found, return undefined.
 
-1. Let |serialized| be of |record|'s [=/value=].
+1. Let |serialized| be |record|'s [=/value=]. If an error occurs while reading the value from the

> ... does have prose like "if result is an error ..." which should process this failure correctly.

Yes, I was banking on this prose to complete the picture of how the returned error gets surfaced out of `IDBRequest`, but I agree that explicitly indicating this in the retrieval algorithm would help. I'll update it.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/IndexedDB/pull/430#discussion_r1793529443
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/IndexedDB/pull/430/review/2357163973@github.com>

Received on Wednesday, 9 October 2024 13:28:16 UTC