Files
ds_task_recycling_project/backend/exceptions.py
T
2025-07-24 23:31:47 +01:00

32 lines
580 B
Python

"""Custom exceptions for memory detection."""
class DetectionError(Exception):
"""Raised when detection fails."""
pass
class ModelLoadError(Exception):
"""Raised when model loading fails."""
pass
class ImageProcessingError(Exception):
"""Raised when image processing fails."""
pass
class FileUploadError(Exception):
"""Raised when file upload fails."""
pass
class ValidationError(Exception):
"""Raised when validation fails."""
pass
class VideoProcessingError(Exception):
"""Raised when video processing fails."""
pass