Skip to main content

_limit_path_len_io_err

Function _limit_path_len_io_err 

Source
pub fn _limit_path_len_io_err(path: &Path, err: Error) -> PolarsError
Expand description

Attaches path to err, keeping its io::ErrorKind.

The path is available in full through PathIoError, and truncated in the message.