pub fn into_io_error<E>(err: E) -> Errorwhere E: Into<Error>,
Generates an io::Error from the given anyhow::Error.
io::Error
anyhow::Error
This will flatten the existing error chain so that it fits in a single-line string.