Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FGenericPlatformMisc
Description
Returns the last system error code in string form. NOTE: Only one return value is valid at a time!
| Name | GetSystemErrorMessage |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformMisc.h |
| Include Path | #include "GenericPlatform/GenericPlatformMisc.h" |
| Source | /Engine/Source/Runtime/Core/Private/GenericPlatform/GenericPlatformMisc.cpp |
static const TCHAR * GetSystemErrorMessage
(
TCHAR * OutBuffer,
int32 BufferCount,
int32 Error
)
Parameters
| Name | Remarks |
|---|---|
| OutBuffer | the buffer to be filled with the error message |
| BufferLength | the size of the buffer in character count |
| Error | the error code to convert to string form |