RegistrationNameConflict
- exception RegistrationNameConflict(resolver: BaseResolver[X, Any], key: str, proposed: X, label: str)[source]
Raised on a conflict with the lookup dict.
Initialize the registration error.
- Parameters:
resolver – The resolver where the registration error occurred
key – The key (either in the
lookup_dictorsynonyms) where the conflict occurredproposed – The proposed overwrite on the given key
label – The origin of the error (either “name” or “synonym”)