Files
removeads/src/tscut/exceptions.py
T

23 lines
554 B
Python

# SPDX-License-Identifier: GPL-2.0-or-later
#
# Copyright (C) 2026 Frédéric Tronel
class TSCutError(Exception):
"""Base exception for tscut."""
class MissingToolError(TSCutError):
"""Raised when a required external tool is unavailable."""
class ExternalToolError(TSCutError):
"""Raised when an external tool fails."""
class InvalidMediaError(TSCutError):
"""Raised when input media cannot be processed."""
class UnimplementedFeatureError(TSCutError):
"""Raised when a rare feature is encountered and not yet implemented"""