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 · 1 comment
Open

List of resolver verification errors and error codes #23

swcurran opened this issue Mar 29, 2024 · 1 comment

Comments

@swcurran
Copy link
Contributor

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
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants