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

Spec type of argument does not match the callback's expected type.

## Example

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

    defmodule Example do
      @behaviour ExampleBehaviour

      @spec ok(:error) :: :ok
      def ok(:ok) do
        :ok
      end
    end

---

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