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

Error messages improvements : remove the brackets for the details in Failure #32

Closed
smarie opened this issue Sep 9, 2019 · 0 comments
Closed

Comments

@smarie
Copy link
Owner

smarie commented Sep 9, 2019

This validation message is received when checking that '' is non empty

ValidationError[ValueError]: Error validating [f='']. Validation function [non_empty] raised Empty: len(x) > 0 does not hold for x=. Wrong value: [].

It raises the question of "what to display in the message ?" Indeed displaying [] in the end of the message is not satisfying to me. Maybe we should use repr(x) without brackets rather.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant