output all errors in a single callback