mirror of
https://github.com/pacnpal/Pac-cogs.git
synced 2025-12-20 10:51:05 -05:00
Added FileCleanupError to utils/exceptions.py Created root exceptions.py for better organization Fixed circular imports in utils/init.py Updated imports in video_archiver.py and update_checker.py Fixed FFmpeg Management: Updated extraction logic for BtbN's new archive structure Added fallback for backward compatibility Better binary verification and permissions handling Improved Error Handling: Proper exception hierarchy Better error propagation More detailed error messages Enhanced cleanup on errors
27 lines
571 B
Python
27 lines
571 B
Python
"""Base exceptions for VideoArchiver"""
|
|
|
|
from .utils.exceptions import (
|
|
VideoArchiverError,
|
|
ConfigurationError,
|
|
VideoVerificationError,
|
|
QueueError,
|
|
FileCleanupError,
|
|
)
|
|
|
|
# Re-export base exceptions
|
|
__all__ = [
|
|
'VideoArchiverError',
|
|
'ConfigurationError',
|
|
'VideoVerificationError',
|
|
'QueueError',
|
|
'FileCleanupError',
|
|
'UpdateError',
|
|
'ProcessingError',
|
|
'ConfigError',
|
|
]
|
|
|
|
# Alias exceptions for backward compatibility
|
|
ProcessingError = VideoArchiverError
|
|
ConfigError = ConfigurationError
|
|
UpdateError = VideoVerificationError
|