pub(crate) fn format_duration(duration: Duration) -> String
A duration in whole seconds, with the minutes apart, like 10m, 1m 30s or 45s, for the errors.
10m
1m 30s
45s