View Source Routex.Extension.Alternatives.Exceptions.AttrsMismatchError exception (Phoenix Routes Extension Framework v0.3.0-alpha.4)

Raised when the custom attributes of branches do not have the same keys.

%{
  branches: %{
    "/"      => %{attrs: %{key1: 1, key2: 2}},
    "/other" => %{attrs: %{key1: 1}} # missing :key2
  }
}

To fix this, make the attribute maps consistent or use an attributes struct.