Skip to content

UnreachablePathError

faststream.redis.exceptions.UnreachablePathError #

UnreachablePathError()

Bases: FastStreamException

Raised when an allegedly unreachable code path is hit.

Source code in faststream/redis/exceptions.py
def __init__(self) -> None:
    super().__init__(
        "This code path should never be reached — it indicates a logic bug."
    )