Consolidate multiline error messages