classPolyKvError(Exception):"""Base exception for the optional poly-kv Python sidecar."""classPolyKvNativeUnavailable(PolyKvError):"""Raised when the PyO3 extension has not been built in the current environment."""classPolyKvShapeError(PolyKvError):"""Raised when shape, dtype, layout, or role validation fails closed."""