Coverage for src/ezcompiler/shared/exceptions/utils/_publish_exceptions.py: 100.00%
6 statements
« prev ^ index » next coverage.py v7.16.2, created at 2026-10-16 16:37 +0000
« prev ^ index » next coverage.py v7.16.2, created at 2026-10-16 16:37 +0000
1# ///////////////////////////////////////////////////////////////
2# PUBLISH_EXCEPTIONS - Release publication (gh/glab) exceptions
3# Project: ezcompiler
4# ///////////////////////////////////////////////////////////////
6"""Specialized exceptions for release publication."""
8from __future__ import annotations
10# ///////////////////////////////////////////////////////////////
11# IMPORTS
12# ///////////////////////////////////////////////////////////////
13from ._base import EzCompilerError
15# ///////////////////////////////////////////////////////////////
16# EXCEPTIONS
17# ///////////////////////////////////////////////////////////////
20class PublishError(EzCompilerError):
21 """Base exception for release publication errors (canonical)."""
24class PublisherTypeError(PublishError):
25 """Raised when the requested publisher type is not supported."""
28class PublishCliError(PublishError):
29 """Raised when the external CLI is missing or exits non-zero."""
32class PublishAuthError(PublishError):
33 """Raised when the external CLI is not authenticated."""