Dune.Allowlist.ensure_implements_behaviour-exclamation-mark

You're seeing just the function ensure_implements_behaviour-exclamation-mark, go back to Dune.Allowlist module for more information.
Link to this function

ensure_implements_behaviour!(module)

View Source

Specs

ensure_implements_behaviour!(module()) :: module()

Validates the fact that a module implements the Dune.Allowlist behaviour.

Raises if not the case.

Examples

iex> Dune.Allowlist.ensure_implements_behaviour!(DoesNotExists)
** (ArgumentError) could not load module DoesNotExists due to reason :nofile

iex> Dune.Allowlist.ensure_implements_behaviour!(List)
** (ArgumentError) List does not implement the Dune.Allowlist behaviour