Navigation
API > API/Runtime > API/Runtime/Core
| Name | TErrorDetails |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Experimental/UnifiedError/UnifiedError.h |
| Include Path | #include "Experimental/UnifiedError/UnifiedError.h" |
Syntax
template<typename T>
class TErrorDetails : public UE::UnifiedError::FDynamicErrorDetails
Inheritance Hierarchy
- TTransactionalAtomicRefCount → FRefCountBase → FRefCountedErrorDetails → FDynamicErrorDetails → TErrorDetails
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Experimental/UnifiedError/UnifiedError.h | |||
TErrorDetails
(
T&& InErrorDetail |
Experimental/UnifiedError/UnifiedError.h | ||
TErrorDetails
(
T&& InErrorDetail, |
Experimental/UnifiedError/UnifiedError.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| StaticDetailsTypeId | const uint32 | Experimental/UnifiedError/UnifiedError.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ErrorDetail | T | Experimental/UnifiedError/UnifiedError.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const T & GetErrorContext() |
Experimental/UnifiedError/UnifiedError.h | ||
const T & GetValue() |
Experimental/UnifiedError/UnifiedError.h |
Overridden from IErrorDetails
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual uint32 GetErrorDetailsTypeId() |
GetErrorDetialsTypeId; Simple type information for error details, generated using hash of details name See also: #define FERROR_DETAILS. | Experimental/UnifiedError/UnifiedError.h | |
virtual void GetErrorProperties
(
const FError& Error, |
GetErrorProperties; by default pass through to the InnerErrorDetails. It's expected FDynamicErrorDetails will be derived from and implement GetErrorProperties. | Experimental/UnifiedError/UnifiedError.h | |
virtual void SerializeForLog
(
FCbWriter& Writer |
Experimental/UnifiedError/UnifiedError.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static IErrorDetails * Create() |
Experimental/UnifiedError/UnifiedError.h | ||
static uint32 StaticGetErrorDetailsTypeId() |
Experimental/UnifiedError/UnifiedError.h |