36 lines
740 B
Python
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",
|
|
]
|