showErrors: add phase which diagnosed the error (#11)