Navigation
API > API/Runtime > API/Runtime/CrashReportCore
Helper that works with Windows Error Reports
| Name | FGenericErrorReport |
| Type | class |
| Header File | /Engine/Source/Runtime/CrashReportCore/Public/GenericErrorReport.h |
| Include Path | #include "GenericErrorReport.h" |
Syntax
class FGenericErrorReport
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Default constructor: creates a report with no files | GenericErrorReport.h | ||
FGenericErrorReport
(
const FString& Directory |
Discover all files in the crash report directory | GenericErrorReport.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void DeleteFiles() |
Delete files from disk | GenericErrorReport.h | |
FString FindCrashedAppName() |
Get the name of the crashed app from the report | GenericErrorReport.h | |
FString FindCrashedAppPath() |
Get the full path of the crashed app from the report | GenericErrorReport.h | |
bool FindFirstReportFileWithExtension
(
FString& OutFilename, |
Look thought the list of report files to find one with the given extension | GenericErrorReport.h | |
| Provide full paths to all the report files | GenericErrorReport.h | ||
| Provide full paths to all the report's optional attachment files | GenericErrorReport.h | ||
FString GetReportDirectory() |
Provide the full path of the error report directory | GenericErrorReport.h | |
FString GetReportDirectoryLeafName() |
Provide the name of the error report directory | GenericErrorReport.h | |
bool HasFilesToUpload() |
Is there anything to upload? | GenericErrorReport.h | |
bool LoadWindowsReportXmlFile
(
FString& OutString |
Load the WER XML file for this report | GenericErrorReport.h | |
void SetCrashReportClientVersion
(
const FString& InVersion |
Sets the version string in the error report and saves the change | GenericErrorReport.h | |
void SetPrimaryCrashProperties
(
FPrimaryCrashProperties& out_PrimaryCrashProperties |
Sets properties specific to the processed crash. | GenericErrorReport.h | |
bool SetUserComment
(
const FText& UserComment |
Write the provided comment into the error report | GenericErrorReport.h | |
bool TryReadDiagnosticsFile() |
GenericErrorReport.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void Init() |
One-time initialisation: does nothing by default | GenericErrorReport.h | |
static void ShutDown() |
One-time clean-up: does nothing by default | GenericErrorReport.h |