-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handling additional errors in resolution/dereferencing #402
Comments
@clehner Good question, I actually wanted to raise a similar issue myself. When we added the DID Resolution and DID URL Dereferencing sections, we said at some point that we would still have to decide on the exact error values. My answer would be that we should only define a minimal set of error values in the DID Core spec, and that additional error values can be defined in other places, such as the DID Resolution spec. Based on what we currently have, my preference would be to do this:
So we would then have the following error values defined in DID Core: Again, additional error values can be defined later using the DID Spec Registries, but the above seem like a useful "core set" of errors to me. |
Addresses #402. Signed-off-by: Markus Sabadello <[email protected]>
Addresses #402. Signed-off-by: Markus Sabadello <[email protected]>
Addresses #402. Signed-off-by: Markus Sabadello <[email protected]>
The PR has been merged into the main specification. This issue will be closed in 7 days unless there are objections. |
No objections made and 7 days have passed. Closing this issue. |
Addresses #402. Signed-off-by: Markus Sabadello <[email protected]>
Addresses w3c/did#402. Signed-off-by: Markus Sabadello <[email protected]>
Three error codes are defined for DID resolution and DID URL Dereferencing:
invalid-did
unauthorized
not-found
Source:
What should an implementation do if it encounters errors during resolution or dereferencing other than the three specified? For example:
Should implementers make up additional error values as needed? Or return additional errors outside the metadata structure?
Is this an appropriate place for a question like this?
The text was updated successfully, but these errors were encountered: