Errors: Support a filter to control which errors are reported

Fixes #335
This will fail for `browser`-version. You should declare a method like `_loadPlugin` and override it in `NodeConfiguration`.