Coverage for src/ezcompiler/shared/exceptions/services/__init__.py: 100.00%
4 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# SERVICES - Service layer exceptions
3# Project: ezcompiler
4# ///////////////////////////////////////////////////////////////
6"""
7Services exceptions module - Exceptions for the business logic layer.
9This module provides exceptions for the service layer, with limited granularity
10to avoid exception overload. Each service has a base exception and specific
11error scenarios.
12"""
14from __future__ import annotations
16# ///////////////////////////////////////////////////////////////
17# IMPORTS - Service exceptions
18# ///////////////////////////////////////////////////////////////
19from ._base import EzCompilerServiceError
20from ._service_exceptions import (
21 CompilationError,
22 CompilerServiceError,
23 ConfigurationError,
24 ReleaseError,
25 TemplateError,
26 TemplateServiceError,
27 UpdaterError,
28 UploadError,
29 UploaderServiceError,
30 VersionError,
31)
33# ///////////////////////////////////////////////////////////////
34# PUBLIC API
35# ///////////////////////////////////////////////////////////////
37__all__ = [
38 # Base exception
39 "EzCompilerServiceError",
40 # Compiler service exceptions
41 "CompilerServiceError",
42 "CompilationError",
43 "ConfigurationError",
44 # Template service exceptions
45 "TemplateServiceError",
46 "TemplateError",
47 "VersionError",
48 # Uploader service exceptions
49 "UploaderServiceError",
50 "UploadError",
51 # Release exceptions (canonical, re-exported from utils)
52 "ReleaseError",
53 # Updater exceptions (canonical, re-exported from utils)
54 "UpdaterError",
55]