Skip to content

Commit 4c79da4

Browse files
committed
Editorial: fix types of returned errors in AOs
1 parent 66fa8c8 commit 4c79da4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ <h1>
262262
_alphabet_: *"base64"* or *"base64url"*,
263263
_lastChunkHandling_: *"loose"*, *"strict"*, or *"stop-before-partial"*,
264264
optional _maxLength_: a non-negative integer,
265-
): a Record with fields [[Read]] (an integral Number), [[Bytes]] (a List of byte values), and [[Error]] (either ~none~ or a throw completion)
265+
): a Record with fields [[Read]] (an integral Number), [[Bytes]] (a List of byte values), and [[Error]] (either ~none~ or a *SyntaxError* object)
266266
</h1>
267267
<dl class="header">
268268
</dl>
@@ -353,7 +353,7 @@ <h1>
353353
FromHex (
354354
_string_: a string,
355355
optional _maxLength_: a non-negative integer,
356-
): a Record with fields [[Read]] (an integral Number), [[Bytes]] (a List of byte values), and [[Error]] (either ~none~ or a throw completion)
356+
): a Record with fields [[Read]] (an integral Number), [[Bytes]] (a List of byte values), and [[Error]] (either ~none~ or a *SyntaxError* object)
357357
</h1>
358358
<dl class="header">
359359
</dl>

0 commit comments

Comments
 (0)