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

Provide enhanced exception logging for Array validation per #566 #627

Merged
merged 2 commits into from
Apr 10, 2023

Conversation

al-niessner
Copy link
Contributor

@al-niessner al-niessner commented Apr 10, 2023

🗒️ Summary

Treat the various purposely thrown exceptions independently to improve the messaging. Still generates a similar error causing the same problem report but different messages. While not exhaustive, put more text in message to report the generic messages to fix the original throw to put the cause in the exception as a message.

⚙️ Test Data and/or Report

See unit tests of this PR

♻️ Related Issues

Closes #567

Copy link
Member

@nutjob4life nutjob4life left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is fine; don't worry about the ) … I'm just being annoying 😝

@nutjob4life nutjob4life self-requested a review April 10, 2023 19:33
Love being pedantic.
Copy link
Member

@nutjob4life nutjob4life left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes me so happy :)))))))))))))

@nutjob4life nutjob4life merged commit c23cbdb into main Apr 10, 2023
@nutjob4life nutjob4life deleted the issue_567 branch April 10, 2023 21:31
@jordanpadams jordanpadams changed the title issue 567: add more messaging Enhance exception logging for Array validation per #566 Apr 11, 2023
@jordanpadams jordanpadams changed the title Enhance exception logging for Array validation per #566 Provide enhanced exception logging for Array validation per #566 Apr 11, 2023
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.

Update ArrayObject exceptions to enable improved error messaging
2 participants