-
Notifications
You must be signed in to change notification settings - Fork 129
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
Added improved ExpectedStruct
error message
#342
Conversation
@torkleyy In relation to #301 (comment) I did some small experimentation to ever so slightly improve the error message from |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great quality of life improvement! Can we always include the struct name in the error?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alright, LGTM!
Ok, I'll add the Changelog entry and merge it later today :) |
81f5087
to
5a7fbeb
Compare
@torkleyy Ready to merge? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added improved `ExpectedStruct` error message
Improves the error messages for
ExpectedStruct
(nowExpectedNamedStruct
),NoSuchExtension
, andUnexpectedByte
by including the erroneous identifier in the message. This small change should help with #301.CHANGELOG.md