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

1# /////////////////////////////////////////////////////////////// 

2# SERVICES - Service layer exceptions 

3# Project: ezcompiler 

4# /////////////////////////////////////////////////////////////// 

5 

6""" 

7Services exceptions module - Exceptions for the business logic layer. 

8 

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""" 

13 

14from __future__ import annotations 

15 

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) 

32 

33# /////////////////////////////////////////////////////////////// 

34# PUBLIC API 

35# /////////////////////////////////////////////////////////////// 

36 

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]