spot-the-diff / src /exceptions.py
RiceZero
ver1
a49c70b
Raw History Blame Contribute Delete
290 Bytes
"""Custom exception classes."""
class ValidationError(Exception):
"""Raised when input validation fails."""
class ProcessingError(Exception):
"""Raised when AI processing fails."""
class ResourceExhaustedError(Exception):
"""Raised when server resources are exhausted."""