pub fn io_error<S: ToString>(err: S) -> Error
Generates an io::Error from the given string.
io::Error