Skip to content

Commit

Permalink
More JsonLdError cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
gkellogg committed Jan 27, 2020
1 parent b667ea3 commit dc1e775
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5598,7 +5598,7 @@ <h3>Algorithm</h3>

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

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

<pre class="idl">
callback LoadDocumentCallback = Promise&lt;RemoteDocument> (
Expand Down

0 comments on commit dc1e775

Please sign in to comment.