Map WSAEDQUOT to ErrorKind::FilesystemQuotaExceeded

This commit is contained in:
Pavel Grigorenko 2024-09-11 00:15:43 +03:00
parent 33855f80d4
commit 8f815978b5

View File

@ -139,6 +139,7 @@ pub fn decode_error_kind(errno: i32) -> ErrorKind {
c::WSAEHOSTUNREACH => HostUnreachable,
c::WSAENETDOWN => NetworkDown,
c::WSAENETUNREACH => NetworkUnreachable,
c::WSAEDQUOT => FilesystemQuotaExceeded,
_ => Uncategorized,
}