Method GetStrError
GetStrError(int)
Retrieves the error message string corresponding to the specified error number.
public static string GetStrError(int errorNumber)
Parameters
errorNumberintThe error number for which to retrieve the error message.
Returns
- string
A string containing the error message associated with the specified error number, or an empty string if the error message cannot be retrieved.
Remarks
This method uses platform-specific functionality to retrieve the error message. The returned string is localized based on the system's current locale settings.