Skip to content

Commit dc1e775

Browse files
committed
More JsonLdError cleanup.
1 parent b667ea3 commit dc1e775

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -5598,7 +5598,7 @@ <h3>Algorithm</h3>
55985598

55995599
<p>It is important to highlight that implementations do not modify the input parameters.
56005600
If an error is detected, the {{Promise}} is
5601-
rejected with a <a>JsonLdError</a> with an appropriate {{JsonLdError/code}}
5601+
rejected with a <a>JsonLdError</a> having an appropriate {{JsonLdError/code}}
56025602
and processing is stopped.</p>
56035603

56045604
<p>If the <a data-link-for="JsonLdOptions">documentLoader</a>
@@ -6189,7 +6189,7 @@ <h3>LoadDocumentCallback</h3>
61896189
<p>The <dfn>LoadDocumentCallback</dfn> defines a callback that custom document loaders
61906190
have to implement to be used to retrieve remote documents and contexts.
61916191
The callback returns a {{Promise}} resolving to a <a>RemoteDocument</a>.
6192-
On failure, the {{Promise}} is rejected with an appropriate error <a data-link-for="JsonLdError">code</a>.</p>
6192+
On failure, the {{Promise}} with a a <a>JsonLdError</a> having an appropriate error <a data-link-for="JsonLdError">code</a>.</p>
61936193

61946194
<pre class="idl">
61956195
callback LoadDocumentCallback = Promise&lt;RemoteDocument> (

0 commit comments

Comments
 (0)