# Copyright 2026 Oliver
# Licensed under the Apache License, Version 2.0
# See LICENSE file for details.
from .base import RAGFlowError
[docs]
class RAGFlowHTTPError(RAGFlowError):
"""Base HTTP client error"""
[docs]
class RAGFlowTimeoutError(RAGFlowHTTPError):
"""Request timeout."""
[docs]
class RAGFlowConnectionError(RAGFlowHTTPError):
"""Connection failed."""
[docs]
class RAGFlowTransportError(RAGFlowHTTPError):
"""Network / transport error."""
[docs]
class RAGFlowHTTPResponseError(RAGFlowHTTPError):
"""Invalid or non-JSON HTTP response."""