fn error_cause(stack: &Stack, prov_extra: ProvenanceExtra) -> &'static str