UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FLinuxErrorReport Class Reference

#include <LinuxErrorReport.h>

+ Inheritance diagram for FLinuxErrorReport:

Public Member Functions

 FLinuxErrorReport ()
 
 FLinuxErrorReport (const FString &Directory)
 
FText DiagnoseReport () const
 
FString FindCrashedAppPath () const
 
- Public Member Functions inherited from FGenericErrorReport
 FGenericErrorReport ()
 
 FGenericErrorReport (const FString &Directory)
 
bool SetUserComment (const FText &UserComment)
 
void SetPrimaryCrashProperties (FPrimaryCrashProperties &out_PrimaryCrashProperties)
 
void SetCrashReportClientVersion (const FString &InVersion)
 
TArray< FString > GetFilesToUpload () const
 
TArray< FString > GetOptionalAttachmentsToUpload () const
 
bool LoadWindowsReportXmlFile (FString &OutString) const
 
bool TryReadDiagnosticsFile ()
 
FString GetReportDirectory () const
 
FString GetReportDirectoryLeafName () const
 
FString FindCrashedAppName () const
 
FString FindCrashedAppPath () const
 
bool HasFilesToUpload () const
 
bool FindFirstReportFileWithExtension (FString &OutFilename, const TCHAR *Extension) const
 
void DeleteFiles ()
 

Static Public Member Functions

static void FindMostRecentErrorReports (TArray< FString > &ErrorReportPaths, const FTimespan &MaxCrashReportAge)
 
- Static Public Member Functions inherited from FGenericErrorReport
static void Init ()
 
static void ShutDown ()
 

Additional Inherited Members

- Protected Attributes inherited from FGenericErrorReport
FString ReportDirectory
 
TArray< FString > ReportFilenames
 
FString OptionalAttachmentsDirectory
 
TArray< FString > OptionalAttachmentsFilenames
 
bool bValidCallstack
 

Detailed Description

Helper that works with Linux Error Reports

Constructor & Destructor Documentation

◆ FLinuxErrorReport() [1/2]

FLinuxErrorReport::FLinuxErrorReport ( )
inline

Default constructor: creates a report with no files

◆ FLinuxErrorReport() [2/2]

FLinuxErrorReport::FLinuxErrorReport ( const FString &  Directory)
inlineexplicit

Discover all files in the crash report directory

Parameters
DirectoryFull path to directory containing the report

Member Function Documentation

◆ DiagnoseReport()

FText FLinuxErrorReport::DiagnoseReport ( ) const
inline

Do nothing - shouldn't be called on Linux

Returns
Dummy text

◆ FindCrashedAppPath()

FString FLinuxErrorReport::FindCrashedAppPath ( ) const
inline

Get the full path of the crashed app from the report

◆ FindMostRecentErrorReports()

static void FLinuxErrorReport::FindMostRecentErrorReports ( TArray< FString > &  ErrorReportPaths,
const FTimespan MaxCrashReportAge 
)
inlinestatic

Do nothing - shouldn't be called on Linux

Returns
Empty string

The documentation for this class was generated from the following file: