Skip to content

FedRAG Exceptions

Base Error Class for FedRAG.

FedRAGError

Bases: Exception

Base error for all fed-rag exceptions.

Source code in src/fed_rag/exceptions/core.py
4
5
6
7
class FedRAGError(Exception):
    """Base error for all fed-rag exceptions."""

    pass

FedRAGWarning

Bases: Warning

Base warning for all fed-rag warnings.

Source code in src/fed_rag/exceptions/core.py
class FedRAGWarning(Warning):
    """Base warning for all fed-rag warnings."""

    pass

Common exceptions.

MissingExtraError

Bases: FedRAGError

Raised when a fed-rag extra is not installed.

Source code in src/fed_rag/exceptions/common.py
class MissingExtraError(FedRAGError):
    """Raised when a fed-rag extra is not installed."""