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

Unhelpful error message 'msg' when _expect fails #41

Open
ulope opened this issue Jun 30, 2018 · 1 comment
Open

Unhelpful error message 'msg' when _expect fails #41

ulope opened this issue Jun 30, 2018 · 1 comment

Comments

@ulope
Copy link

ulope commented Jun 30, 2018

When _Source._expect() fails it raises a TomlError with the unhelpful error message msg:

raise TomlError('msg', self._pos[0], self._pos[1], self._filename)

Example to provoke this error:

[a]b
@MarSoft
Copy link

MarSoft commented Mar 27, 2019

Same problem.

MarSoft added a commit to MarSoft/pre-commit-hooks that referenced this issue Mar 27, 2019
Pytoml has an issue with error messages: avakar/pytoml#41
ssbarnea pushed a commit to pycontribs/pre-commit-hooks that referenced this issue Aug 3, 2019
Pytoml has an issue with error messages: avakar/pytoml#41
ssbarnea pushed a commit to pycontribs/pre-commit-hooks that referenced this issue Aug 3, 2019
Pytoml has an issue with error messages: avakar/pytoml#41
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

2 participants