"emitErrors" in v3 vs v4

Does anybody have a tip for me, please?