Coverage for src / ezqt_app / domain / errors / resources.py: 100.00%
6 statements
« prev ^ index » next coverage.py v7.13.5, created at 2026-04-06 13:12 +0000
« prev ^ index » next coverage.py v7.13.5, created at 2026-04-06 13:12 +0000
1# ///////////////////////////////////////////////////////////////
2# DOMAIN.ERRORS.RESOURCES - Resource and file generation exceptions
3# Project: ezqt_app
4# ///////////////////////////////////////////////////////////////
6"""Typed exceptions for file/resource generation failures."""
8from __future__ import annotations
10# ///////////////////////////////////////////////////////////////
11# IMPORTS
12# ///////////////////////////////////////////////////////////////
13# Standard library imports
14from .base import EzQtError
17# ///////////////////////////////////////////////////////////////
18# CLASSES
19# ///////////////////////////////////////////////////////////////
20class ResourceError(EzQtError):
21 """Base resource generation error."""
24class MissingPackageResourceError(ResourceError):
25 """Raised when an expected package resource cannot be resolved."""
28class ResourceCompilationError(ResourceError):
29 """Raised when QRC to Python resource compilation fails."""
32class InvalidOverwritePolicyError(ResourceError):
33 """Raised when overwrite policy is not recognized."""