Use PredefinedErrorTypeNames instead of literals
Merge pull request #40 from sharwell/predefined-error-type-names

Use PredefinedErrorTypeNames instead of literals