Function str_error

Source
pub fn str_error(err: i32) -> &'static str
Expand description

Returns a string representation of the error.

Unlike libc’s strerror, this just returns the string version of the constant, e.g “ENOENT”.