report_skipped_source
report_skipped_source(
msg: str ,
on_error: Literal[‘warn’, ‘raise’, ‘ignore’] = warn,
cause: BaseException | None[<class ’BaseException, None] = None,
)-> ‘None’
Report a source a scan skips: warn, raise ScanError, or stay silent.
The cause, when given, is chained to the raised error so the original failure (e.g. a PermissionError or a reader’s error) stays visible.