UDocumentation
UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
StropheError.h
Go to the documentation of this file.
1
// Copyright Epic Games, Inc. All Rights Reserved.
2
3
#pragma once
4
5
#include "
CoreMinimal.h
"
6
#include "
XmppStrophe/StropheStanza.h
"
7
8
#if WITH_XMPP_STROPHE
9
10
THIRD_PARTY_INCLUDES_START
11
#include "strophe.h"
12
THIRD_PARTY_INCLUDES_END
13
14
enum class
EStropheErrorType
:
uint8
15
{
16
Unknown
,
17
BadFormat
,
18
BadNSPrefix
,
19
Conflict
,
20
ConnectionTimeout
,
21
HostGone
,
22
HostUnknown
,
23
ImproperAddr
,
24
InternalServerError
,
25
InvalidFrom
,
26
InvalidId
,
27
InvalidNS
,
28
InvalidXML
,
29
NotAuthorized
,
30
PolicyViolation
,
31
RemoteConnectionFailed
,
32
ResourceConstraint
,
33
RestrictedXML
,
34
SeeOtherHost
,
35
SystemShutdown
,
36
UndefinedCondition
,
37
UnsupportedEncoding
,
38
UnsupportedStanzaType
,
39
UnsupportedVersion
,
40
XMLNotWellFormed
41
};
42
43
class
FStropheError
44
{
45
public
:
46
explicit
FStropheError
(
const
xmpp_stream_error_t
& StreamError,
int32
InErrorNumber
);
47
48
EStropheErrorType
GetErrorType()
const
;
49
const
FString& GetErrorString()
const
;
50
int32
GetErrorNumber
()
const
;
51
const
FStropheStanza
&
GetStanza
()
const
;
52
53
protected
:
54
static
EStropheErrorType
ConvertStropheError
(
xmpp_error_type_t
InErrorType
);
55
56
protected
:
57
EStropheErrorType
ErrorType;
58
FString ErrorString;
59
int32
ErrorNumber
;
60
const
FStropheStanza
ErrorStanza
;
61
};
62
63
#endif
EAnalyticsSessionShutdownType::Unknown
@ Unknown
CoreMinimal.h
int32
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition
Platform.h:1125
StaticCastSharedRef
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition
SharedPointer.h:127
THIRD_PARTY_INCLUDES_START
#define THIRD_PARTY_INCLUDES_START
Definition
GenericPlatformCompilerPreSetup.h:63
EHttpServerResponseCodes::Conflict
@ Conflict
ENetCloseResult::ConnectionTimeout
@ ConnectionTimeout
StropheStanza.h
uint8
uint8_t uint8
Definition
binka_ue_file_header.h:8
THIRD_PARTY_INCLUDES_END
Definition
Voronoi.cpp:10
TaskTrace::InvalidId
const FId InvalidId
Definition
TaskTrace.h:39
Engine
Source
Runtime
Online
XMPP
Private
XmppStrophe
StropheError.h
Generated by
1.9.8