Errors: Support a filter to control which errors are reported

Fixes #335
Seems like this should be passed to Error constructor, rather than passed to Error.filterErrorList.