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

Document ability to fail task with custom callback #103

Merged
merged 1 commit into from
May 15, 2016

Conversation

tobek
Copy link
Contributor

@tobek tobek commented May 14, 2016

I wasn't sure at first how to fail the task when using the callback option until I tried passing in an error. The error-first callback convention is pretty standard but worth documenting explicitly.

@sindresorhus sindresorhus merged commit 54e6c03 into sindresorhus:master May 15, 2016
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

Successfully merging this pull request may close these issues.

2 participants