add error and warning messages to Calculation.traverse