Setting parameters to error summary messages