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

Add more context to errors - constitutive/ files #2447

Merged
merged 100 commits into from
Sep 20, 2023

Conversation

MelReyCG
Copy link
Contributor

This PR uses the features added the PR #2404 to add more context to the errors messages of classes in src/coreComponents/contitutive files.
In particular, this PR aims to add the lines of the XML elements from which an error message comes from.

See issue and attached files describing error message changes: #2320

MelReyCG and others added 24 commits March 23, 2023 14:17
- Added SourceContext to know where Groups/Wrappers has been declared
- Added a test for the node & attribute line infos
…y/2320-xml-errors-feedback"

- using getSourceContext() instead of getPath()
…ack-3' into feature/rey/error-xml-line-2-errors-impacting
- also renaming FileContext to DataFileContext
+ virtual destructors
MelReyCG and others added 26 commits July 24, 2023 10:27
(used string_view to support raw string loading)
Note that ConstitutiveBase::getFullName() needs further decisions & development.

Merge remote-tracking branch 'origin/feature/rey/error-xml-line-2' into feature/rey/error-xml-line-constitutive
@TotoGaz TotoGaz merged commit 74fa386 into develop Sep 20, 2023
@TotoGaz TotoGaz deleted the feature/rey/error-xml-line-constitutive branch September 20, 2023 00:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[EPIC] Improve feedback to user on XML errors
3 participants