dot-checkLastErrors function

Check if there are last errors