dot-hasLastErrors function

Check if there are last errors