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

chore: clarify the StringKey length #6

Merged
merged 3 commits into from
Dec 1, 2022

Conversation

NibiruHeisenberg
Copy link
Contributor

@NibiruHeisenberg NibiruHeisenberg commented Nov 30, 2022

The Collections API requires StringKeys to be at least length 2. That should be clarified in the panic error message so that library users are not confused about why the StringKey encoding/decoding failed.

@NibiruHeisenberg NibiruHeisenberg merged commit 7911394 into main Dec 1, 2022
@NibiruHeisenberg NibiruHeisenberg deleted the chore/update-error-message branch December 1, 2022 01:26
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

Successfully merging this pull request may close these issues.

Add descriptions to err objects to make debugging easier.
2 participants