Files
Aniworld/src/server/exceptions/exceptions.py
2025-10-22 11:30:04 +02:00

36 lines
740 B
Python

"""
Exceptions module for Aniworld server API.
This module provides custom exception classes for the web API layer
with proper HTTP status code mappings.
"""
from src.server.exceptions import (
AniWorldAPIException,
AuthenticationError,
AuthorizationError,
ConfigurationError,
ConflictError,
DatabaseError,
DownloadError,
NotFoundError,
ProviderError,
RateLimitError,
ServerError,
ValidationError,
)
__all__ = [
"AniWorldAPIException",
"AuthenticationError",
"AuthorizationError",
"ValidationError",
"NotFoundError",
"ConflictError",
"RateLimitError",
"ServerError",
"DownloadError",
"ConfigurationError",
"ProviderError",
"DatabaseError",
]