re-add getErrors method