Skip to content

Commit

Permalink
Remove numerical error codes to be in sync with the VCDM specification.
Browse files Browse the repository at this point in the history
Co-authored-by: Dave Longley <[email protected]>
  • Loading branch information
iherman and dlongley authored Jan 20, 2025
1 parent fe0619d commit fbb25fe
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2697,8 +2697,8 @@ <h3>Processing Errors</h3>
<p>
The algorithms described in this specification throw specific types of errors.
Implementers might find it useful to convey these errors to other libraries or
software systems. This section provides specific URLs, descriptions, and error
codes for the errors, such that an ecosystem implementing technologies described
software systems. This section provides specific URLs and descriptions for the errors,
such that an ecosystem implementing technologies described
by this specification might interoperate more effectively when errors occur.
</p>

Expand All @@ -2714,10 +2714,6 @@ <h3>Processing Errors</h3>
below.
</li>
<li>
The `code` value MUST be the integer code described in the table below
(in parentheses, beside the type name).
</li>
<li>
The `title` value SHOULD provide a short but specific human-readable string for
the error.
</li>
Expand All @@ -2727,27 +2723,27 @@ <h3>Processing Errors</h3>
</ul>

<dl>
<dt id="INVALID_VERIFICATION_METHOD_URL">INVALID_VERIFICATION_METHOD_URL (-21)</dt>
<dt id="INVALID_VERIFICATION_METHOD_URL">INVALID_VERIFICATION_METHOD_URL</dt>
<dd>
The `verificationMethod` value in a [=proof=] was malformed. See Section
[[[#retrieve-verification-method]]].
</dd>
<dt id="INVALID_CONTROLLED_IDENTIFIER_DOCUMENT_ID">INVALID_CONTROLLED_IDENTIFIER_DOCUMENT_ID (-22)</dt>
<dt id="INVALID_CONTROLLED_IDENTIFIER_DOCUMENT_ID">INVALID_CONTROLLED_IDENTIFIER_DOCUMENT_ID</dt>
<dd>
The `id` value in a [=controlled identifier document=] was malformed. See Section
[[[#retrieve-verification-method]]].
</dd>
<dt id="INVALID_CONTROLLED_IDENTIFIER_DOCUMENT">INVALID_CONTROLLED_IDENTIFIER_DOCUMENT (-23)</dt>
<dt id="INVALID_CONTROLLED_IDENTIFIER_DOCUMENT">INVALID_CONTROLLED_IDENTIFIER_DOCUMENT</dt>
<dd>
The [=controlled identifier document=] was malformed. See Section
[[[#retrieve-verification-method]]].
</dd>
<dt id="INVALID_VERIFICATION_METHOD">INVALID_VERIFICATION_METHOD (-24)</dt>
<dt id="INVALID_VERIFICATION_METHOD">INVALID_VERIFICATION_METHOD</dt>
<dd>
The [=verification method=] in a [=controlled identifier document=] was malformed. See Section
[[[#retrieve-verification-method]]].
</dd>
<dt id="INVALID_RELATIONSHIP_FOR_VERIFICATION_METHOD">INVALID_RELATIONSHIP_FOR_VERIFICATION_METHOD (-25)</dt>
<dt id="INVALID_RELATIONSHIP_FOR_VERIFICATION_METHOD">INVALID_RELATIONSHIP_FOR_VERIFICATION_METHOD</dt>
<dd>
The [=verification method=] in a [=controlled identifier document=] was not
associated using the expected [=verification relationship=] as expressed in
Expand Down

0 comments on commit fbb25fe

Please sign in to comment.