func (f *FailStrategy) UnmarshalText(text []byte) error {
	switch strategy := string(text); strategy {
	case "", "fatal":
		*f = FailStrategyFatal
	case "ignore":
		*f = FailStrategyIgnore
	default:
		return fmt.Errorf("not a valid fail strategy: %q", strategy)
	}
	return nil
}
func (f *FailStrategy) UnmarshalText(text []byte) error {
	switch strategy := string(text); strategy {
	case "", "fatal":
		*f = FailStrategyFatal
	case "ignore":
		*f = FailStrategyIgnore
	default:
		return fmt.Errorf("not a valid fail strategy: %q", strategy)
	}
	return nil
}
// UnmarshalText implements encoding/text.Unmarshaler.
// This allows FailStrategy to be specified as a string in many
// file formats (e.g. JSON, YAML, TOML).