Makes the error names consistent
Merge pull request #890 from seancron/documentation-fix

Documentation fix: Makes the error names consistent