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

Improve internal error handling #19

Open
ToxicFrog opened this issue Jul 4, 2013 · 0 comments
Open

Improve internal error handling #19

ToxicFrog opened this issue Jul 4, 2013 · 0 comments
Assignees

Comments

@ToxicFrog
Copy link
Owner

At the moment, error handling is kind of a dog's breakfast of error() and assert() calls. Users can easily end up seeing a stack trace from vstruct internals.

This isn't terribly hard to fix:

  • internal functions for internal, external, hard, and soft errors
  • API functions should pcall the implementation
  • turn error objects into appropriate throws or returns, including the internal stack trace if appropriate
@ghost ghost assigned ToxicFrog Jul 4, 2013
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