pub fn win_error_code(name: &str) -> Option<u32>
Looks up the numeric value of a Win32 error code by its symbolic name (e.g. 2 for ERROR_FILE_NOT_FOUND), including known aliases.
2
ERROR_FILE_NOT_FOUND
Matching is exact and case-sensitive.