Coverage for src / ezcompiler / shared / exceptions / services / __init__.py: 100.00%

4 statements  

« prev     ^ index     » next       coverage.py v7.13.5, created at 2026-03-27 06:49 +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 TemplateError, 

25 TemplateServiceError, 

26 UploadError, 

27 UploaderServiceError, 

28 VersionError, 

29) 

30 

31# /////////////////////////////////////////////////////////////// 

32# PUBLIC API 

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

34 

35__all__ = [ 

36 # Base exception 

37 "EzCompilerServiceError", 

38 # Compiler service exceptions 

39 "CompilerServiceError", 

40 "CompilationError", 

41 "ConfigurationError", 

42 # Template service exceptions 

43 "TemplateServiceError", 

44 "TemplateError", 

45 "VersionError", 

46 # Uploader service exceptions 

47 "UploaderServiceError", 

48 "UploadError", 

49]