[TH] pass errorFn to unfold process so we can use it for its errors
[TH] remove errorCount, wasn't needed for this solution
Merge pull request #218 from votinginfoproject/promise-error-handling-on-unfold

[TH] pass errorFn to unfold process so we can use it for its errors