Skip to main content

failure_diagnostic

Function failure_diagnostic 

Source
pub fn failure_diagnostic(
    stage: &'static str,
    error: &(dyn Error + 'static),
) -> FailureDiagnostic
Expand description

Follow typed error sources without inspecting or rendering their messages.

stage must be a caller-owned static operation name. A SQLite CANTOPEN code describes an open failure, not proof of an operating-system access denial.