added toString method for errorCodes into QParser class