 
   To query the value of a flag, please use the `enabled?2` function instead.
   """
-  @spec all_flags() :: {:ok, [FunWithFlags.Flag.t]}
+  @spec all_flag_names() :: {:ok, [FunWithFlags.Flag.t]} | {:error, any}
   def all_flag_names do
     Config.persistence_adapter().all_flag_names()
   end


  def disable(flag_name, [for_actor: actor]) when is_atom(flag_name) do
    gate = Gate.new(:actor, actor, false)
    {:ok, flag} = @store.put(flag_name, gate)
    verify(flag, for: actor)
  end

  def disable(flag_name, [for_group: nil]) do

  but it's not meant to be used at runtime. Undefined flags,
  for example, will be considered disabled.
  """
  @spec all_flags() :: {:ok, [atom]} | {:error, any}
  def all_flags do
    Config.persistence_adapter().all_flags()
  end
