Enum validation with custom error.