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

3 statements  

« prev     ^ index     » next       coverage.py v7.14.1, created at 2026-06-03 15:46 +0000

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

2# BASE - Base exception for EzCompiler 

3# Project: ezcompiler 

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

5 

6""" 

7Base exception - Core exception class for all EzCompiler errors. 

8 

9This module defines the base exception class that all other exceptions inherit from. 

10""" 

11 

12from __future__ import annotations 

13 

14from ..utils._base import EzCompilerError 

15 

16 

17# TODO [AUDIT P2]: fusionner les deux hiérarchies d'exceptions (utils/ et services/) 

18# UploadError existe dans les deux arbres avec des parents différents — ambiguïté pour les consommateurs. 

19# Objectif : un seul arbre sous EzCompilerError (utils/base.py), supprimer EzCompilerServiceError 

20# ou en faire un alias transparent. Voir shared/exceptions/utils/ pour la hiérarchie cible. 

21class EzCompilerServiceError(EzCompilerError): 

22 """Base exception for all EzCompiler services errors."""