fn get_io_error(error: &str) -> SnapshotError