Errors: Support a filter to control which errors are reported

Fixes #335
Perhaps a nice middle ground between an error filter and a file filter.