mirror of
https://github.com/pacnpal/Pac-cogs.git
synced 2025-12-20 02:41:06 -05:00
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
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user