RegistrationSynonymConflict

exception RegistrationSynonymConflict(resolver, key, proposed, label)[source]

Raised on a conflict with the synonym dict.

Initialize the registration error.

Parameters:
  • resolver (BaseResolver[TypeVar(X), TypeVar(Y)]) – The resolver where the registration error occurred

  • key (str) – The key (either in the lookup_dict or synonyms) where the conflict occurred

  • proposed (TypeVar(X)) – The proposed overwrite on the given key

  • label (str) – The origin of the error (either “name” or “synonym”)