func (v Value) Validate() error {
	switch v {
	case Alive, Dying, Dead:
		return nil
	}
	return errors.NotValidf("life value %q", v)
}
// Validate returns an error if the value is not known.
Validate returns an error if the value is not known.
// Validate returns an error if the value is not known .
func (v Value) Validate() error {
	switch v {
	case Alive, Dying, Dead:
		return nil
	}
	return errors.NotValidf("life value %q", v)
}
func ( v Value ) Validate ( ) error { switch v { case Alive , Dying , Dead : return nil } return errors . NotValidf ( " " , v ) }
Validate returns an error if the value is not known.
Validate returns an error if the value is not known .