filterWithError

filterWithError models the filter function behavior but handles errors as failures.

This supports filter operations on callbacks in which errors are possible.