IAnalyticsProvider::RecordError

Records an error that has happened in the game

Windows
MacOS
Linux

References

Module

Analytics

Header

/Engine/Source/Runtime/Analytics/Analytics/Public/Interfaces/IAnalyticsProvider.h

Include

#include "Interfaces/IAnalyticsProvider.h"

Syntax

virtual void RecordError
(
    const FString & Error,
    const TArray< FAnalyticsEventAttribute > & EventAttrs
)

Remarks

Records an error that has happened in the game

Note that not all providers support all events. In this case this method is equivalent to sending a regular event with name "Game Error".

Parameters

Parameter

Description

Error

the error string to record

EventAttrs

a list of key/value pairs to assign to this event

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss