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

Detect iteratee callback function does not take an error parameter #1044

Closed
meuserj opened this issue Mar 2, 2016 · 3 comments
Closed

Detect iteratee callback function does not take an error parameter #1044

meuserj opened this issue Mar 2, 2016 · 3 comments

Comments

@meuserj
Copy link

meuserj commented Mar 2, 2016

The documentation indicates that the callback function parameter to the iteratee function is expecting an error as the first parameter and the truth value as the second function. After banging my head trying to figure out why it wasn't finding the obviously correct value, I discovered that it is actually expecting the first parameter to be the truth value.

@meuserj
Copy link
Author

meuserj commented Mar 2, 2016

Oh, the overall callback also does not have an error field passed into it.

@megawac
Copy link
Collaborator

megawac commented Mar 2, 2016

Yeah, we're working on fixing this inconsistency in the next version (see #774)

@megawac
Copy link
Collaborator

megawac commented Mar 2, 2016

Fixed in #1028

@megawac megawac closed this as completed Mar 2, 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

No branches or pull requests

2 participants