Use PredefinedErrorTypeNames instead of literals