add getErrors method