Documentation fix: Makes the error names consistent

Noticed that the error names weren't consistent while browsing the documentation.