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

Include schema name and property name in raised exceptions #1

Open
jdkandersson opened this issue Oct 20, 2019 · 0 comments
Open

Include schema name and property name in raised exceptions #1

jdkandersson opened this issue Oct 20, 2019 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@jdkandersson
Copy link
Owner

As a user I want to know which schema and property caused an exception so that I can easily identify and fix the problem.

Currently exceptions are raised locally and include information about what is wrong. They do not always include which part of the schema caused the problem. That can make it difficult to spot where in the schema the problem is. Maybe the base exception can include fields around the schema name and property name that can be set in an exception handler around or within the model factory and the message string can overridden to include the properties, if they are set.

@jdkandersson jdkandersson added the enhancement New feature or request label Oct 20, 2019
@jdkandersson jdkandersson added this to the Cleanup milestone Mar 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant