Skip to main content

with_missing

Function with_missing 

pub(crate) fn with_missing(
    raised: PyErr,
    (kind, key): (&'static str, String),
    trade: Trade<'_>,
) -> PyErr
Expand description

A raised exception carrying the missing input’s listing row as kind and key, and — for a valuation’s refusal — the book trade it came from as trade (None outside a book).

The attributes are set on the instance; args[0] stays the core’s text.