DotNetDupe 4.0.6
C++17/20 Implementation of the .NET Base Class Library (BCL)
Loading...
Searching...
No Matches
DotNetDupe::System::ComponentModel Namespace Reference

Classes

class  Win32Exception
 Exception thrown for a Win32 or POSIX platform error code. More...

Functions

static String FormatErrorMessage (int nErrorCode)

Function Documentation

◆ FormatErrorMessage()

String DotNetDupe::System::ComponentModel::FormatErrorMessage ( int nErrorCode)
static

Step: Format native error code into localized message string.

Step: Trim trailing whitespace and convert to UTF-8.

Definition at line 18 of file Win32Exception.cpp.

References DotNetDupe::System::String::String(), FormatErrorMessage(), and DotNetDupe::System::Internal::StringConvertInternal::WCharToUtf8().

Referenced by DotNetDupe::System::ComponentModel::Win32Exception::Win32Exception(), and FormatErrorMessage().