xcausal.XCausalWarning

exception xcausal.XCausalWarning[source]

Bases: Warning

Umbrella class for all xcausal-emitted warnings.

Currently subclassed into ComponentWarning (operating-pool concerns: fit failures and configuration exclusions), BootstrapWarning (bootstrap inference reliability concerns), and RiskDifferenceWarning (binary ensemble point estimates outside the risk-difference bounds). Filtering at this level catches any xcausal-emitted warning regardless of subcategory.