use emitErr as our nop function here