We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 00ef461 commit b71a3e1Copy full SHA for b71a3e1
src/libstd/sys/windows/mod.rs
@@ -61,6 +61,7 @@ pub fn decode_error_kind(errno: i32) -> ErrorKind {
61
c::ERROR_FILE_NOT_FOUND => return ErrorKind::NotFound,
62
c::ERROR_PATH_NOT_FOUND => return ErrorKind::NotFound,
63
c::ERROR_NO_DATA => return ErrorKind::BrokenPipe,
64
+ c::ERROR_INVALID_PARAMETER => return ErrorKind::InvalidInput,
65
c::ERROR_SEM_TIMEOUT
66
| c::WAIT_TIMEOUT
67
| c::ERROR_DRIVER_CANCEL_TIMEOUT
0 commit comments