chsvlib
chsv helper source code

◆ PlatformException() [1/9]

PlatformException ( platform_code_t  nPlatformCode)
noexcept

Constructs an exception object bound with the specified platform-specific error code.

Parameters
[in]nPlatformCodeis a numeric value of the platform error code to be associated with the created exception.

The constructor generates the description in the format "Underlying platform error \<PLATFORM_CODE\>", where the "\<PLATFORM_CODE\>" tag is replaced by a wide string representation of the value of the platform error code. See details for the PlatformException class template for further explanation about tags.