Skip to content

Commit 8f81597

Browse files
committed
Map WSAEDQUOT to ErrorKind::FilesystemQuotaExceeded
1 parent 33855f8 commit 8f81597

File tree

1 file changed

+1
-0
lines changed
  • library/std/src/sys/pal/windows

1 file changed

+1
-0
lines changed

library/std/src/sys/pal/windows/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ pub fn decode_error_kind(errno: i32) -> ErrorKind {
139139
c::WSAEHOSTUNREACH => HostUnreachable,
140140
c::WSAENETDOWN => NetworkDown,
141141
c::WSAENETUNREACH => NetworkUnreachable,
142+
c::WSAEDQUOT => FilesystemQuotaExceeded,
142143

143144
_ => Uncategorized,
144145
}

0 commit comments

Comments
 (0)