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

Raise legible error when trying to emit TOML with null values #183

Open
kislyuk opened this issue Mar 1, 2024 · 0 comments
Open

Raise legible error when trying to emit TOML with null values #183

kislyuk opened this issue Mar 1, 2024 · 0 comments

Comments

@kislyuk
Copy link
Owner

kislyuk commented Mar 1, 2024

TOML does not support null values (not sure how that makes any sense, but apparently it never will: toml-lang/toml#30)

We currently raise the following error when encountering them: tomlkit.items._ConvertError: Invalid type <class 'NoneType'>

Come up with a more legible error that makes it more obvious what's going on.

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