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

Name the element name explicitly in error messages #232

Open
mmsmits opened this issue Dec 14, 2023 · 0 comments
Open

Name the element name explicitly in error messages #232

mmsmits opened this issue Dec 14, 2023 · 0 comments

Comments

@mmsmits
Copy link
Member

mmsmits commented Dec 14, 2023

Many error messages explicitly not mention the name of the element, since that is included in the path, which follows the error. Looking at the actual errors however, it occurs to me that it can be quite unclear:

[ERROR] Element is of type 'boolean', which is not one of the allowed choice types ('string','Quantity') (at [0].entry[2].resource[0].valueBoolean[0], element Bundle(http://example.org/StructureDefinition/DocumentBundle).entry.resource->Observation.value[x][@default])
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

No branches or pull requests

1 participant