getEmptyErrorLst function

Creates a empty errorLst object