Exceptions¶
Exception Classes for the xdg package
-
exception
xdg.Exceptions.
DuplicateGroupError
(group, file)[source]¶ Raised when the same key occurs twice in an INI-style file.
Attributes are .group and .file.
-
exception
xdg.Exceptions.
DuplicateKeyError
(key, group, file)[source]¶ Raised when the same key occurs twice in an INI-style file.
Attributes are .key, .group and .file.
-
exception
xdg.Exceptions.
NoGroupError
(group, file)[source]¶ Raised when trying to access a nonexistant group in an INI-style file.
Attributes are .group and .file.
-
exception
xdg.Exceptions.
NoKeyError
(key, group, file)[source]¶ Raised when trying to access a nonexistant key in an INI-style file.
Attributes are .key, .group and .file.
-
exception
xdg.Exceptions.
NoThemeError
(theme)[source]¶ Raised when trying to access a nonexistant icon theme.
The name of the theme is the .theme attribute.