Added error message print function (to be used in SummaryViews)