Errors: Support a filter to control which errors are reported

Fixes #335
Seems like this function should simply be called `filter`. `errors.filterErrorList` is redundant.