# `Dialyxir.Warnings.Apply`
[🔗](https://github.com/jeremyjh/dialyxir/blob/1.4.8/lib/dialyxir/warnings/apply.ex#L1)

The function being invoked exists, and has the correct arity, but
will not succeed.

## Example

    defmodule Example do
      def ok() do
        fun = fn :ok -> :ok end
        fun.(:error)
      end
    end

---

*Consult [api-reference.md](api-reference.md) for complete listing*
