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

Run-time arguments checks #21

Closed
rpominov opened this issue Aug 31, 2016 · 1 comment
Closed

Run-time arguments checks #21

rpominov opened this issue Aug 31, 2016 · 1 comment

Comments

@rpominov
Copy link
Owner

We should check arguments to be of correct types in user facing methods (i.e. public API methods) and throw early.

@rpominov
Copy link
Owner Author

rpominov commented Sep 21, 2016

Added basic checks. There is still a room for improvement though. We could check in more places (return value of fn in task.chain(fn) for instance), and show incorrect value better (currently toString is used so arrays look like 1,2 for example).

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