fix test and add doc

This commit is contained in:
2025-10-22 11:30:04 +02:00
parent 1637835fe6
commit 9692dfc63b
13 changed files with 3562 additions and 146 deletions

View File

@@ -0,0 +1,35 @@
"""
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",
]