Raise different exception when AutoMap initialized with non-unique keys.
flexatone opened this issue · comments
Presently, an AutoMap initialized with non-unique keys raises a KeyError
; perhaps a differerent Exception is better.
I think ValueError
makes sense, for the reasons we discussed.
This was changed to a ValueError
in bf932e6.
0.1 is out with this change!