BabelSlide_2.0 / core /exceptions.py
Marek4321's picture
Upload 14 files
1df1e0b verified
raw
history blame contribute delete
697 Bytes
class BabelSlideException(Exception):
"""Base exception for BabelSlide application"""
pass
class TranslationError(BabelSlideException):
"""Raised when translation fails"""
pass
class ProcessorError(BabelSlideException):
"""Raised when document processing fails"""
pass
class ValidationError(BabelSlideException):
"""Raised when input validation fails"""
pass
class APIKeyError(BabelSlideException):
"""Raised when API key is invalid or missing"""
pass
class UnsupportedFileError(BabelSlideException):
"""Raised when file format is not supported"""
pass
class FileSizeError(BabelSlideException):
"""Raised when file is too large"""
pass