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

json.c: replace some asserts with errors #162

Merged
merged 1 commit into from
Jan 4, 2022

Conversation

gromgit
Copy link
Collaborator

@gromgit gromgit commented Jan 4, 2022

The asserts replaced are all a direct result of errors in user input,
and for which user-comprehensible error messages can be generated.

Should-not-happen asserts, and those that can't be reported
meaningfully to the users, have been retained.

Closes #160.

The asserts replaced are all a direct result of errors in user input,
and for which user-comprehensible error messages can be generated.

Should-not-happen asserts, and those that can't be reported
meaningfully to the users, have been retained.

Closes jpmens#160.
@jpmens jpmens merged commit 0f206f6 into jpmens:master Jan 4, 2022
@jpmens
Copy link
Owner

jpmens commented Jan 4, 2022

Merged. Thank you very much, @gromgit!

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.

Assertion failure when both inserting and using as a key/value
2 participants