retrieve object with info about errors