@SuppressWarnings({"unchecked", "rawtypes"})
        private static @NonNull String join(final @NonNull Class<? extends Enum> clazz) {
            final EnumSet<?> enumSet = EnumSet.allOf(clazz);
            return enumSet.stream()
                    .map(e -> e.toString().toLowerCase(Locale.ROOT))
                    .collect(Collectors.joining(", "));
        }
Construct a new enum parse exception

@param input     Input
@param enumClass Enum class
@param context   Command context
cloud-core/src/main/java/org/incendo/cloud/parser/standard/EnumParser.java