Coverage for src/ezcompiler/shared/exceptions/utils/_updater_exceptions.py: 100.00%
5 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# UPDATER_EXCEPTIONS - Updater client generation exceptions
3# Project: ezcompiler
4# ///////////////////////////////////////////////////////////////
6"""
7Updater exceptions - Exceptions for client update script generation.
9Canonical ``UpdaterError`` lives here (utils subtree), under ``EzCompilerError``.
10The services subtree re-imports it instead of redefining one — mirrors the
11``ReleaseError`` / ``UploadError`` pattern.
12"""
14from __future__ import annotations
16from ._base import EzCompilerError
19class UpdaterError(EzCompilerError):
20 """Base exception for updater client generation errors (canonical)."""
23class UpdaterConfigError(UpdaterError):
24 """Raised when updater config is invalid or incomplete."""
27class UpdaterGenerationError(UpdaterError):
28 """Raised when generating or writing updater files fails."""