unsafe fn source<'a, C: 'static, H: ContextHandler<C>>(
ptr: RawReportRef<'a>,
) -> Option<&'a (dyn Error + 'static)>Expand description
Gets the source error from a report using its handler’s source implementation.
§Safety
The caller must ensure that the type C matches the actual context type stored in the ReportData.