profile_manager.exceptions module¶
Custom exceptions.
- exception profile_manager.exceptions.InvalidItemError(message: str, *, item_type: str | None = None, item_name: str | None = None)[source]¶
Bases:
ItemImportError,ValueErrorAn item read from the source profile is invalid (null or unnamed).
- exception profile_manager.exceptions.ItemImportError(message: str, *, item_type: str | None = None, item_name: str | None = None)[source]¶
Bases:
ProfileManagerError,RuntimeErrorAn item (bookmark, style item…) cannot be written to the target profile.
- exception profile_manager.exceptions.ProfileManagerError[source]¶
Bases:
ExceptionBase class for expected, user-facing errors raised by the plugin.
- exception profile_manager.exceptions.StyleDatabaseError[source]¶
Bases:
ProfileManagerError,RuntimeErrorA style database (
symbology-style.db) cannot be loaded.
- exception profile_manager.exceptions.StyleDatabaseNotFoundError[source]¶
Bases:
ProfileManagerError,FileNotFoundErrorA style database (
symbology-style.db) does not exist.