Skip to content
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

List of resolver verification errors and error codes #23

Open
swcurran opened this issue Mar 29, 2024 · 2 comments
Open

List of resolver verification errors and error codes #23

swcurran opened this issue Mar 29, 2024 · 2 comments
Labels
discuss Let's talk about this at our next meeting

Comments

@swcurran
Copy link
Collaborator

I thought it would be useful to add a ticket where we can track a list of error conditions in the resolver that are possible and what error codes (or other technique) we can use to surface the error to the caller.

  • Log not found.
  • etc.
@andrewwhitehead
Copy link
Contributor

So far the Python implementation just uses notFound if the DID log cannot be resolved (404 or other HTTP error), and invalidDid if the processing of the log fails for any reason. The resolution result has both an error code and a message, so the message can be used for additional information.

@swcurran swcurran added the discuss Let's talk about this at our next meeting label Oct 22, 2024
@swcurran
Copy link
Collaborator Author

Need help from implementers to get a list that we can then enumerate into Codes and Text.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discuss Let's talk about this at our next meeting
Projects
None yet
Development

No branches or pull requests

2 participants