updated errors in the docs
Merge pull request #32 from wesleykendall/feature/optimize

updated errors in the docs