We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When a consumer is trying to obtain an Image or ImageIndex it may be in a flow where that image is optional.
We need to export the 'not found' error so that a consumer can check whether a call has failed due to no match, or another reason.
At present we have...
errNoMatchingImage = errors.New("no image found matching criteria") errMultipleMatchingImages = errors.New("multiple images match criteria")
errNoMatchingIndex = errors.New("no index found matching criteria") errMultipleMatchingIndices = errors.New("multiple indices match criteria")
It probable makes sense to have generic no match and multiple matches errors across image and index, and export them both.
no match
multiple matches
The text was updated successfully, but these errors were encountered:
3b0bc23
dtrudg
Successfully merging a pull request may close this issue.
When a consumer is trying to obtain an Image or ImageIndex it may be in a flow where that image is optional.
We need to export the 'not found' error so that a consumer can check whether a call has failed due to no match, or another reason.
At present we have...
It probable makes sense to have generic
no match
andmultiple matches
errors across image and index, and export them both.The text was updated successfully, but these errors were encountered: