alnyan/yggdrasil: add NotImplemented error

This commit is contained in:
2023-07-18 23:20:48 +03:00
parent d3296ec5f6
commit 6eee868877
+3
View File
@@ -88,6 +88,9 @@ fn cvt_io_err(e: OsError) -> crate::io::Error {
OsError::InvalidArgument => {
crate::io::const_io_error!(ErrorKind::InvalidInput, "invalid argument")
}
OsError::NotImplemented => {
crate::io::const_io_error!(ErrorKind::Unsupported, "feature not implemented")
}
}
}