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

Exception message: "Error at line ..." -> "YAML parse error at ..." #32

Closed
GoogleCodeExporter opened this issue Mar 30, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

Any chance the output message of YAML::Exception could be changed something like
suggested in the summary? That way when I see an exception message printed by a
generic "catch (std::exception& e)" line, it'd be obvious when the error comes 
from
parsing something. Of course, that can't give the most informative message 
since the
YAML parser doesn't know the document name, but it's still convenient for small 
pieces
of code.

Thanks. Doesn't look like google code lets me specify when an "issue" is a bug 
or
enhancement..

Original issue reported on code.google.com by diggory....@gmail.com on 18 Aug 2009 at 10:12

@GoogleCodeExporter
Copy link
Author

Good idea; I switched it to:

yaml-cpp: error at...

Original comment by jbe...@gmail.com on 19 Aug 2009 at 5:10

  • Changed state: Fixed
  • Added labels: ****
  • Removed labels: ****

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