From dc1e775a91f546ec96f4333acec6eeac33f3130d Mon Sep 17 00:00:00 2001 From: Gregg Kellogg Date: Thu, 23 Jan 2020 16:03:57 -0800 Subject: [PATCH] More JsonLdError cleanup. --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 64b5520b..ae3f3bd2 100644 --- a/index.html +++ b/index.html @@ -5598,7 +5598,7 @@

Algorithm

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

If the documentLoader @@ -6189,7 +6189,7 @@

LoadDocumentCallback

The LoadDocumentCallback 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 RemoteDocument. - On failure, the {{Promise}} is rejected with an appropriate error code.

+ On failure, the {{Promise}} with a a JsonLdError having an appropriate error code.

         callback LoadDocumentCallback = Promise<RemoteDocument> (