Coverage for src/ezcompiler/shared/exceptions/utils/_installer_exceptions.py: 100.00%
7 statements
« prev ^ index » next coverage.py v7.14.3, created at 2026-07-04 11:22 +0000
« prev ^ index » next coverage.py v7.14.3, created at 2026-07-04 11:22 +0000
1# ///////////////////////////////////////////////////////////////
2# INSTALLER_EXCEPTIONS - Installer (Inno Setup) operation exceptions
3# Project: ezcompiler
4# ///////////////////////////////////////////////////////////////
6"""
7Installer exceptions - Specialized exceptions for installer packaging.
9Canonical ``InstallerError`` lives here (utils subtree), under
10``EzCompilerError``. Mirrors the ``ReleaseError`` pattern.
11"""
13from __future__ import annotations
15# ///////////////////////////////////////////////////////////////
16# IMPORTS
17# ///////////////////////////////////////////////////////////////
18from ._base import EzCompilerError
20# ///////////////////////////////////////////////////////////////
21# EXCEPTIONS
22# ///////////////////////////////////////////////////////////////
25class InstallerError(EzCompilerError):
26 """Base exception for installer packaging errors (canonical)."""
29class InstallerTypeError(InstallerError):
30 """Raised when the requested installer type is not supported."""
33class IsccNotFoundError(InstallerError):
34 """Raised when the Inno Setup compiler (ISCC.exe) cannot be located."""
37class InstallerBuildError(InstallerError):
38 """Raised when running ISCC.exe against the .iss script fails."""
41class InstallerConfigError(InstallerError):
42 """Raised when installer configuration is invalid or incomplete."""