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

Cryptic error codes when using drafter_c_parse #24

Closed
w-vi opened this issue Apr 5, 2015 · 1 comment
Closed

Cryptic error codes when using drafter_c_parse #24

w-vi opened this issue Apr 5, 2015 · 1 comment
Assignees

Comments

@w-vi
Copy link
Member

w-vi commented Apr 5, 2015

When using the simple parsing function int drafter_c_parse() the return value of not zero is quite cryptic. To figure out what the value actually means one has to dig deep into snowcrash to find out and even then it's not really obvious what the problem is. Would it be possible to provide an interface to get detailed description of the error? Either classic strerror or some other way like if error != 0 the *result will contain error description.

@w-vi
Copy link
Member Author

w-vi commented Jul 7, 2016

Drafter 3 introduced new API so this no longer apply

@w-vi w-vi closed this as completed Jul 7, 2016
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

3 participants