fpick 0.8.1

Interactive file picker
1
2
3
4
5
6
7
8
9
use anyhow::Error;

pub fn contextualized_error(error: &Error) -> String {
    error
        .chain()
        .map(|e| e.to_string())
        .collect::<Vec<String>>()
        .join(": ")
}