ini2toml.errors¶
- exception ini2toml.errors.AlreadyRegisteredAugmentation(name: str, new: Callable, existing: Callable)[source]¶
Bases:
ValueErrorThe profile augmentation ‘{name}’ is already registered for ‘{existing}’.
Some installed plugins seem to be in conflict with each other, please check ‘{new}’ and ‘{existing}’. If you are the developer behind one of them, please use a different name.
- exception ini2toml.errors.InvalidAugmentationName(name: str)[source]¶
Bases:
ValueErrorProfile augmentations should be valid python identifiers
- exception ini2toml.errors.InvalidCfgBlock(block)[source]¶
Bases:
ValueErrorSomething is wrong with the provided
.ini/.cfgAST
- exception ini2toml.errors.InvalidTOMLKey(key)[source]¶
Bases:
ValueError{key!r} is not a valid key in the intermediate TOML representation