mirror of
https://github.com/pacnpal/Pac-cogs.git
synced 2025-12-20 10:51:05 -05:00
Converted all 'from videoarchiver.' imports to relative imports
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
"""Base exceptions for VideoArchiver"""
|
||||
|
||||
from videoarchiver.utils.exceptions import (
|
||||
from .utils.exceptions import (
|
||||
VideoArchiverError,
|
||||
ConfigurationError,
|
||||
VideoVerificationError,
|
||||
@@ -23,24 +23,24 @@ from videoarchiver.utils.exceptions import (
|
||||
|
||||
# Re-export all exceptions
|
||||
__all__ = [
|
||||
'VideoArchiverError',
|
||||
'ConfigurationError',
|
||||
'VideoVerificationError',
|
||||
'QueueError',
|
||||
'FileCleanupError',
|
||||
'ResourceExhaustedError',
|
||||
'ProcessingError',
|
||||
'CleanupError',
|
||||
'FileOperationError',
|
||||
'VideoDownloadError',
|
||||
'VideoProcessingError',
|
||||
'VideoUploadError',
|
||||
'VideoCleanupError',
|
||||
'PermissionError',
|
||||
'NetworkError',
|
||||
'ResourceError',
|
||||
'ComponentError',
|
||||
'DiscordAPIError',
|
||||
"VideoArchiverError",
|
||||
"ConfigurationError",
|
||||
"VideoVerificationError",
|
||||
"QueueError",
|
||||
"FileCleanupError",
|
||||
"ResourceExhaustedError",
|
||||
"ProcessingError",
|
||||
"CleanupError",
|
||||
"FileOperationError",
|
||||
"VideoDownloadError",
|
||||
"VideoProcessingError",
|
||||
"VideoUploadError",
|
||||
"VideoCleanupError",
|
||||
"PermissionError",
|
||||
"NetworkError",
|
||||
"ResourceError",
|
||||
"ComponentError",
|
||||
"DiscordAPIError",
|
||||
]
|
||||
|
||||
# Alias exceptions for backward compatibility
|
||||
|
||||
Reference in New Issue
Block a user