Added erroInfo method that returns an array with all errors found while running.