Skip to content

Commit 7e6617d

Browse files
committed
Be more specific about errors during summarization
1 parent 10be1c5 commit 7e6617d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: index.bs

+2-2
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ The <dfn attribute for="AISummarizer">inputQuota</dfn> getter steps are to retur
620620

621621
If during this process |stopMeasuring| starts returning true, then return null.
622622

623-
If an error occurs during this process, then return an appropriate [=error information=] according to the guidance in [[#summarizer-errors]].
623+
If an error occurs during this process, then return an appropriate [=DOMException error information=] according to the guidance in [[#summarizer-errors]].
624624

625625
1. Return the amount of input usage needed to represent |inputToModel| when given to the underlying model. The exact calculation procedure is [=implementation-defined=], subject to the following constraints.
626626

@@ -630,7 +630,7 @@ The <dfn attribute for="AISummarizer">inputQuota</dfn> getter steps are to retur
630630

631631
If during this process |stopMeasuring| starts returning true, then instead return null.
632632

633-
If an error occurs during this process, then instead return an appropriate [=error information=] according to the guidance in [[#summarizer-errors]].
633+
If an error occurs during this process, then instead return an appropriate [=DOMException error information=] according to the guidance in [[#summarizer-errors]].
634634
</div>
635635

636636
<h4 id="summarizer-options">Options</h4>

0 commit comments

Comments
 (0)