emit errors as an emitter