From e08ec2fa844873b56c89d23157c64893c00b1cd9 Mon Sep 17 00:00:00 2001 From: pacnpal <183241239+pacnpal@users.noreply.github.com> Date: Sun, 17 Nov 2024 00:06:09 +0000 Subject: [PATCH] Update utils/__init__.py: - Add CommandError and EventError to imports and __all__ - Add CogError to imports and __all__ - Add TrackingError to imports and __all__ - Add helper functions for error handling and progress tracking - Add version information and shared instances --- videoarchiver/utils/__init__.py | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/videoarchiver/utils/__init__.py b/videoarchiver/utils/__init__.py index c5ae106..a7cbd06 100644 --- a/videoarchiver/utils/__init__.py +++ b/videoarchiver/utils/__init__.py @@ -72,7 +72,17 @@ from .exceptions import ( CleanupError, # Health monitoring - HealthCheckError + HealthCheckError, + + # Command and Event operations + CommandError, + EventError, + + # Cog operations + CogError, + + # Progress tracking + TrackingError ) __all__ = [ @@ -149,6 +159,16 @@ __all__ = [ # Health Monitoring Exceptions 'HealthCheckError', + # Command and Event Exceptions + 'CommandError', + 'EventError', + + # Cog Exceptions + 'CogError', + + # Progress Tracking Exceptions + 'TrackingError', + # Helper Functions 'get_download_progress', 'get_compression_progress',