Shouldn't it just be emits ++= onError?