UGameViewportClient::PeekNetworkFailureMessages

Notification of network error messages generally not expected to handle the failure here, but provide notification to the user

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/GameViewportClient.h

Include

#include "Engine/GameViewportClient.h"

Source

/Engine/Source/Runtime/Engine/Private/GameViewportClient.cpp

Syntax

virtual void PeekNetworkFailureMessages
(
    UWorld * InWorld,
    UNetDriver * NetDriver,
    enum ENetworkFailure::Type FailureType,
    const FString & ErrorString
)

Remarks

Notification of network error messages generally not expected to handle the failure here, but provide notification to the user

Parameters

Parameter

Description

World

associated with failure

NetDriver

associated with failure

FailureType

the type of error

ErrorString

additional string detailing the error