Error message function updated by storing linenumber, error type and error messages into a list. Pucong implements a printErrorMessages() function.