Coverage for src / ezqt_app / domain / errors / bootstrap.py: 100.00%

5 statements  

« prev     ^ index     » next       coverage.py v7.13.5, created at 2026-04-06 13:12 +0000

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

2# DOMAIN.ERRORS.BOOTSTRAP - Bootstrap exceptions 

3# Project: ezqt_app 

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

5 

6"""Typed bootstrap exceptions used by init orchestration.""" 

7 

8from __future__ import annotations 

9 

10# /////////////////////////////////////////////////////////////// 

11# IMPORTS 

12# /////////////////////////////////////////////////////////////// 

13# Standard library imports 

14from .base import EzQtError 

15 

16 

17# /////////////////////////////////////////////////////////////// 

18# CLASSES 

19# /////////////////////////////////////////////////////////////// 

20class BootstrapError(EzQtError): 

21 """Base initialization workflow error.""" 

22 

23 

24class InitAlreadyInitializedError(BootstrapError): 

25 """Raised when init is re-triggered on an initialized context.""" 

26 

27 

28class InitStepError(BootstrapError): 

29 """Raised when a required initialization step fails."""