Revert "added erros"

This reverts commit 97560206389bd481f371ba5cb19786acaa48d201.