Oh, I didn't realize I could do that. I simplified it even more: callback.foreach(_ (Left(new HeavyLoadException)))