Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FError
Description
Writes this error to compact binary, filtering out details based on the passed in filter. Note that as detailed in Serializes the following fields in an unspecified order: $type - a string field with the value UE::UnifiedError::FError $format - a format string to print this error as unlocalized text $locformat, $locns, $lockey - format string and localization key & namespace to print this error as localized text ErrorCode - the numeric code assigned to the error in UE_DECLARE_ERROR ModuleId - a numeric code associated automatically with the module during compilation of the binary containing the error module declaration ErrorCodeString - The name of the error as declared in UE_DECLARE_ERROR ModuleIdString - The namespace of the error as declared in UE_DECLARE_ERROR / UE_DECLARE_ERROR_MODULE Details - an array containing the details of the initial error used to create this error, and any additional details added with PushErrorContext. Each details object is serialized according to its declaration with UE_DECLARE_ERROR / UE_DECLARE_ERROR_CONTEXT. The details are filtered according to the EDetailFilter argument.
| Name | SerializeToCompactBinary |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Experimental/UnifiedError/UnifiedError.h |
| Include Path | #include "Experimental/UnifiedError/UnifiedError.h" |
| Source | /Engine/Source/Runtime/Core/Private/Experimental/UnifiedError/UnifiedError.cpp |
void SerializeToCompactBinary
(
FCbWriter & InWriter,
EDetailFilter InFilter
) const
See Also
-
a compact binary document is a sequence of fields and not necessarily an object. This function writes the fields without a outer object wrapping them.