Map ERROR_INVALID_PARAMETER to InvalidInput
This commit is contained in:
parent
00ef46169e
commit
b71a3e1e3a
1 changed files with 1 additions and 0 deletions
|
|
@ -61,6 +61,7 @@ pub fn decode_error_kind(errno: i32) -> ErrorKind {
|
|||
c::ERROR_FILE_NOT_FOUND => return ErrorKind::NotFound,
|
||||
c::ERROR_PATH_NOT_FOUND => return ErrorKind::NotFound,
|
||||
c::ERROR_NO_DATA => return ErrorKind::BrokenPipe,
|
||||
c::ERROR_INVALID_PARAMETER => return ErrorKind::InvalidInput,
|
||||
c::ERROR_SEM_TIMEOUT
|
||||
| c::WAIT_TIMEOUT
|
||||
| c::ERROR_DRIVER_CANCEL_TIMEOUT
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue