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 the error without type in async() #481

Merged
merged 1 commit into from
Nov 8, 2017

Conversation

dduponchel
Copy link
Collaborator

Without any type given to async(), an error is thrown with a message
a bit useless. I re-used the check of generateAsync(): without type,
the result is promise failed with an error "No output type specified".

Fixes #479.

Without any type given to `async()`, an error is thrown with a message
a bit useless. I re-used the check of `generateAsync()`: without type,
the result is promise failed with an error "No output type specified".
@dduponchel dduponchel merged commit ece381a into Stuk:master Nov 8, 2017
@dduponchel dduponchel deleted the no_type branch November 8, 2017 22:14
@dduponchel dduponchel mentioned this pull request Nov 9, 2017
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.

None yet

1 participant