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

Unknown TOML parameters don’t issue an error #2

Closed
wtraylor opened this issue Mar 6, 2020 · 0 comments
Closed

Unknown TOML parameters don’t issue an error #2

wtraylor opened this issue Mar 6, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@wtraylor
Copy link
Owner

wtraylor commented Mar 6, 2020

Desired behavior: If a parameter is in the TOML file that is not parsed at all, an exception should be thrown, saying that an unknown parameter was encountered.

Reasons:

  1. The user might have misspelled an optional parameter and erroneously thinks it is being parsed and used.
  2. The user might have misspelled a mandatory parameter and is confronted with the error message that this mandatory parameter couldn’t be found. The user should be notified first that there is a parameter that couldn’t be parsed.
@wtraylor wtraylor added the bug Something isn't working label Mar 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant