diff --git a/src/ahriman/core/configuration/configuration.py b/src/ahriman/core/configuration/configuration.py index 7d350030..89646929 100644 --- a/src/ahriman/core/configuration/configuration.py +++ b/src/ahriman/core/configuration/configuration.py @@ -56,7 +56,7 @@ class Configuration(configparser.RawConfigParser): architecture according to the merge rules. Moreover, the architecture names will be removed from section names. In order to get current settings, the ``check_loaded`` method can be used. This method will raise an - ``InitializeException`` in case if configuration was not yet loaded:: + ``InitializeError`` in case if configuration was not yet loaded:: >>> path, architecture = configuration.check_loaded() """ @@ -165,7 +165,7 @@ class Configuration(configparser.RawConfigParser): Tuple[Path, str]: configuration root path and architecture if loaded Raises: - InitializeException: in case if architecture and/or path are not set + InitializeError: in case if architecture and/or path are not set """ if self.path is None or self.architecture is None: raise InitializeError("Configuration path and/or architecture are not set") diff --git a/src/ahriman/web/web.py b/src/ahriman/web/web.py index 666da10a..ce9e7961 100644 --- a/src/ahriman/web/web.py +++ b/src/ahriman/web/web.py @@ -90,7 +90,7 @@ async def on_startup(application: web.Application) -> None: application(web.Application): web application instance Raises: - InitializeException: in case if matched could not be loaded + InitializeError: in case if matched could not be loaded """ application.logger.info("server started") try: