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

Add error callbacks to all asynchronous methods #82

Closed
sriharshachilakapati opened this issue Oct 27, 2016 · 0 comments
Closed

Add error callbacks to all asynchronous methods #82

sriharshachilakapati opened this issue Oct 27, 2016 · 0 comments
Assignees
Projects
Milestone

Comments

@sriharshachilakapati
Copy link
Owner

For the sake of IO, we have asynchronous methods which accept a callback for success. However we are relying on exceptions which are uncaught, and this makes it very hard for exception handling of async methods. To solve this, we need to add an error handler to these methods, and make it optional. The default error callback will just print the exception using the default logger.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
1.1.1
DONE
Development

No branches or pull requests

1 participant