That's generic information and doesn't really include anything that applies to this situation.
Op, here's what i would do. p0341 will only be caused by one of the following on this vehicle, incorrect timing, stretched chain, clogged or stuck open/closed vtc control solenoid, damaged camshaft lock pin, faulty vtc actuator or damaged cmp pulse plate. Since there weren't any issues before replacing the exhaust cam, i would look towards a vtc actuator or pulse plate issue, assuming the timing is correct.
Inspect the pulse plate on the exhaust cam for any damage (it's on the opposite end from the cam gear).
Did you remove the actuator from the intake camshaft? If so, was the actuator in the unlocked position when reinstalled? You may have damaged the camshaft pin if you used a impact gun to tighten the actuator.
If the lower cover is off then measure the tensioner rod length to check for a stretched chain. You want to measure between the tensioner body and bottom of the flat surface section on the tensioner rod. If the length is over 13.5mm then the chain and tensioner need replacement.
Next check the vtc oil control solenoid for any debris that may have clogged the screen. It's possible that the solenoid is stuck open or closed but likely would have been an issue prior to repair.