better error messages for ganttchart