Skip to main content

source_err

Function source_err 

pub(crate) fn source_err(e: &SourceError) -> PyErr
Expand description

A source’s failure as SourceError, the source’s own exception as its __cause__ — or that exception itself where it is no Exception (a KeyboardInterrupt, a SystemExit), so a retry on SourceError never swallows an interrupt.