Function scenario_err
pub(crate) fn scenario_err(e: ScenarioError) -> PyErrExpand description
A scenario failure: a selector or shape the scenario has no shock for is
the caller’s ValueError; a malformed shock or a pricer failure keeps its
own class.