Navigation
API > API/Runtime > API/Runtime/CrashReportCore
References
| Module | CrashReportCore |
| Header | /Engine/Source/Runtime/CrashReportCore/Public/GenericErrorReport.h |
| Include | #include "GenericErrorReport.h" |
Syntax
class FGenericErrorReport
Remarks
Helper that works with Windows Error Reports
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bValidCallstack | Whether the error report generated an valid callstack. | |
| FString | ReportDirectory | Full path to the directory the report files are in | |
| TArray< FString > | ReportFilenames | List of leaf filenames of all the files in the report folder |
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Default constructor: creates a report with no files | |||
FGenericErrorReport
(
const FString& Directory |
Discover all files in the crash report directory |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | DeleteFiles () |
Delete files from disk | |
| FString | Get the name of the crashed app from the report | ||
| FString | Get the full path of the crashed app from the report | ||
| bool | FindFirstReportFileWithExtension
(
FString& OutFilename, |
Look thought the list of report files to find one with the given extension | |
| TArray< FString > | Provide full paths to all the report files | ||
| FString | Provide the full path of the error report directory | ||
| FString | Provide the name of the error report directory | ||
| bool | Is there anything to upload? | ||
| void | Init () |
One-time initialisation: does nothing by default | |
| bool | LoadWindowsReportXmlFile
(
FString& OutString |
Load the WER XML file for this report | |
| void | SetCrashReportClientVersion
(
const FString& InVersion |
Sets the version string in the error report and saves the change | |
| void | SetPrimaryCrashProperties
(
FPrimaryCrashProperties& out_PrimaryCrashProperties |
Sets properties specific to the processed crash. | |
| bool | SetUserComment
(
const FText& UserComment |
Write the provided comment into the error report | |
| void | ShutDown () |
One-time clean-up: does nothing by default | |
| bool |