Skip to content

Commit

Permalink
Map WSAEDQUOT to ErrorKind::FilesystemQuotaExceeded
Browse files Browse the repository at this point in the history
  • Loading branch information
GrigorenkoPV committed Sep 10, 2024
1 parent 22c4e8e commit fde9f6b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions std/src/sys/pal/windows/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
Expand Down

0 comments on commit fde9f6b

Please sign in to comment.