Skip to content

Commit

Permalink
Editorial: fix types of returned errors in AOs
Browse files Browse the repository at this point in the history
  • Loading branch information
bakkot committed Jul 13, 2024
1 parent 66fa8c8 commit 4c79da4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ <h1>
_alphabet_: *"base64"* or *"base64url"*,
_lastChunkHandling_: *"loose"*, *"strict"*, or *"stop-before-partial"*,
optional _maxLength_: a non-negative integer,
): a Record with fields [[Read]] (an integral Number), [[Bytes]] (a List of byte values), and [[Error]] (either ~none~ or a throw completion)
): a Record with fields [[Read]] (an integral Number), [[Bytes]] (a List of byte values), and [[Error]] (either ~none~ or a *SyntaxError* object)
</h1>
<dl class="header">
</dl>
Expand Down Expand Up @@ -353,7 +353,7 @@ <h1>
FromHex (
_string_: a string,
optional _maxLength_: a non-negative integer,
): a Record with fields [[Read]] (an integral Number), [[Bytes]] (a List of byte values), and [[Error]] (either ~none~ or a throw completion)
): a Record with fields [[Read]] (an integral Number), [[Bytes]] (a List of byte values), and [[Error]] (either ~none~ or a *SyntaxError* object)
</h1>
<dl class="header">
</dl>
Expand Down

0 comments on commit 4c79da4

Please sign in to comment.