Skip to main content

scenario_err

Function scenario_err 

pub(crate) fn scenario_err(e: ScenarioError) -> PyErr
Expand 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.