-
Notifications
You must be signed in to change notification settings - Fork 33
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
MessagePack deserialization: improve error messages #849
Conversation
Signed-off-by: Martijn Govers <Martijn.Govers@Alliander.com>
...d_model_c/power_grid_model/include/power_grid_model/auxiliary/serialization/deserializer.hpp
Outdated
Show resolved
Hide resolved
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.
Please update the error messages:
either "A/An {item 1} or a/an {item 2} expected "
or
"Expecting a/an {item 1} or a/an {item 2}"
What are we fixing apart from the error messages? |
read as (fix + improve) error messages. will update |
…uxiliary/serialization/deserializer.hpp Signed-off-by: Martijn Govers <Martijn.Govers@Alliander.com> Signed-off-by: Martijn Govers <martygovers@hotmail.com>
I still do not get the purpose of this PR. The original error message is already very clear. The changes in this PR are only about the tense. |
...d_model_c/power_grid_model/include/power_grid_model/auxiliary/serialization/deserializer.hpp
Outdated
Show resolved
Hide resolved
In addition, while present tense was clear, it felt more like imperative tense (which it clearly isn't). In this case, while we haven't dug into debugging yet, the JSON looked correct at first sight
|
Signed-off-by: Martijn Govers <Martijn.Govers@Alliander.com>
…/power-grid-model into feature/error-message-fix Signed-off-by: Martijn Govers <Martijn.Govers@Alliander.com>
tony approved but this requested changes needs to be dismissed before PR can be merged
Quality Gate passedIssues Measures |
No description provided.