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

refactor: make query cursor errors more specific #5086

Merged
merged 5 commits into from
Sep 19, 2024

Conversation

nxsaken
Copy link
Contributor

@nxsaken nxsaken commented Sep 18, 2024

Context

  • Makes the UnknownCursor error more specific. There are several places with different logic where this error is returned (query not found, cursor mismatch, not enough items). Moves the error thrown on a query not being found in the store from UnknownCursor.
  • Part of investigation of [BUG] Queries fail with "Unknown query cursor" #5085.

Checklist

  • I've read CONTRIBUTING.md.
  • All review comments have been resolved.
  • All CI checks pass.

@github-actions github-actions bot added the api-changes Changes in the API for client libraries label Sep 18, 2024
Signed-off-by: Nurzhan Sakén <[email protected]>
@nxsaken nxsaken merged commit d7d73cc into hyperledger-iroha:main Sep 19, 2024
16 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api-changes Changes in the API for client libraries
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants