View Source Routex.Extension.Alternatives.Exceptions.AttrsMismatchError exception (Phoenix Routes Extension Framework v0.2.0-alpha.7)
Raised when the custom attributes of scopes do not have the same keys.
%{
scopes: %{
"/" => %{attrs: %{key1: 1, key2: 2}},
"/other" => %{attrs: %{key1: 1}} # missing :key2
}
}
To fix this, make the attribute maps consistent or use an attributes struct.