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

The success type of the function does not match the callback type in
the behaviour.

## Example

    defmodule ExampleBehaviour do
      @callback ok() :: :ok
    end

    defmodule Example do
      @behaviour ExampleBehaviour

      def ok() do
        :error
      end
    end

---

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