Summary
The HTTPS Binding spec references INTERNAL_ERROR as a valid DID resolution error type, but the URI https://www.w3.org/ns/did#INTERNAL_ERROR is not defined in the W3C DID vocabulary document at https://www.w3.org/ns/did.
Impact
Implementations that return RFC 9457-style error objects with "type": "https://www.w3.org/ns/did#INTERNAL_ERROR" are using an undefined URI, which breaks the linked data contract.
Suggested fix
Add INTERNAL_ERROR to the vocabulary document alongside the other defined error types (INVALID_DID, NOT_FOUND, METHOD_NOT_SUPPORTED, etc.).
Context
Found while implementing the HTTPS Binding in digitalbazaar/did-resolver.
Summary
The HTTPS Binding spec references
INTERNAL_ERRORas a valid DID resolution error type, but the URIhttps://www.w3.org/ns/did#INTERNAL_ERRORis not defined in the W3C DID vocabulary document at https://www.w3.org/ns/did.Impact
Implementations that return RFC 9457-style error objects with
"type": "https://www.w3.org/ns/did#INTERNAL_ERROR"are using an undefined URI, which breaks the linked data contract.Suggested fix
Add
INTERNAL_ERRORto the vocabulary document alongside the other defined error types (INVALID_DID,NOT_FOUND,METHOD_NOT_SUPPORTED, etc.).Context
Found while implementing the HTTPS Binding in digitalbazaar/did-resolver.