getErrors()

by @positronium