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

@abhishek-shanthkumar commented on this pull request.



> @@ -5636,13 +5643,17 @@ To <dfn>store a record into an object store</dfn> with
 To <dfn>retrieve a value from an object store</dfn> with
 |targetRealm|, |store| and |range|, run these steps:
 
+NOTE:
+    May return a {{DOMException}} if an error occurs while running these steps.

Thank you for these pointers! I've updated the algorithm prose accordingly. https://infra.spec.whatwg.org/#algorithm-declaration specifies mentioning the _return type_ and not a description of the returned value, so I have used `ECMAScript value` instead and also included `undefined` in the list of possible return types. Please LMK if I've interpreted any of this incorrectly.

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

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

Received on Friday, 11 October 2024 09:03:57 UTC