Table of Contents

Method GetStrError

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

GetStrError(int)

Retrieves the error message string corresponding to the specified error number.

public static string GetStrError(int errorNumber)

Parameters

errorNumber int

The 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.