Spaces:
Sleeping
Sleeping
File size: 382 Bytes
287f4ed | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | from __future__ import annotations
class AppError(Exception):
"""Base application error."""
class ValidationError(AppError):
"""Raised for invalid user input or invalid uploads."""
class ProviderError(AppError):
"""Raised when the FedStyleValidator call fails."""
class FileHandlingError(AppError):
"""Raised when temporary file or export handling fails."""
|