Skip to main content

win_error_name

Function win_error_name 

Source
pub fn win_error_name(code: u32) -> Option<&'static str>
Expand description

Looks up the symbolic name of a Win32 error code (e.g. ERROR_FILE_NOT_FOUND for 2).

The name is the Win32 symbolic constant, not a localized system message.