Also, shadowing: "val (fromBuffer, **errorEvent**) = drainBuffer()"