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

Better error message when wrong type is passed #18

Merged
merged 1 commit into from
Nov 20, 2022

Conversation

johnomotani
Copy link
Owner

Prints the meta.value_type.__name__, or a sequence of them. This avoids special characters so ensures that the message is printed sensibly even if it is passed to something that, e.g., renders it as HTML.

Prints the meta.value_type.__name__. This avoids special characters so
ensures that the message is printed sensibly even if it is passed to
something that, e.g., renders it as HTML.
@johnomotani johnomotani added the enhancement New feature or request label Nov 20, 2022
@johnomotani johnomotani merged commit c65c091 into master Nov 20, 2022
@johnomotani johnomotani deleted the better-type-error-message branch November 20, 2022 13:58
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

Successfully merging this pull request may close these issues.

1 participant