I3DHError.h Source File

I3DHError.h Source File#

instant3Dhub: I3DHError.h Source File
instant3Dhub
I3DHError.h
Go to the documentation of this file.
1
5
6#pragma once
7
8#include "CoreMinimal.h"
9
10#include "I3DHError.generated.h"
11
13// clang-format off
14UENUM()
15enum class EI3DHErrorCode : uint32
16{
31
33 SerializationError = 0x00010000,
34
36 JavascriptError = 0x00010000 + 1,
37
40 Aborted = 0x00010000 + 2,
41
43 NotImplementedInBackend = 0x00010000 + 3,
44
47 ActorSpawnError = 0x00010000 + 4,
48
52 = 0x00010000 + 5,
53
56 SpaceAlreadyExists = 0x00010000 + 6,
57
58 InternalError01 = 0x00020000,
59 InternalError02,
60 InternalError03,
61 InternalError04,
62 InternalError05,
63 InternalError06,
64 InternalError07,
65 InternalError08,
66 InternalError09,
67 InternalError10,
68 InternalError11,
69 InternalError12,
70 InternalError13,
71 InternalError14,
72 InternalError15,
73 InternalError16,
74
76 UnknownError = 0x80000000,
77};
78// clang-format on
79
FString I3DHStringFromErrorCode(EI3DHErrorCode ErrorCode)
Converts an ErrorCode to a human-readable String.
EI3DHErrorCode
Enumeration of Error Codes returned from various instant3Dhub API Calls.
Definition I3DHError.h:16
@ NotSupportedOnCurrentHubVersion
Operation is not supported on the version of the instant3Dhub to which we are currently connected.
Definition I3DHError.h:51
@ InvalidValue
Invalid value.
Definition I3DHError.h:26
@ InvalidValueType
Invalid value type.
Definition I3DHError.h:24
@ InvalidObjectId
Invalid object Identifier.
Definition I3DHError.h:20
@ Success
Success.
Definition I3DHError.h:18
@ SerializationError
Serialization error.
Definition I3DHError.h:33
@ Aborted
Operation was aborted.
Definition I3DHError.h:40
@ ActorSpawnError
Failed to spawn an actor.
Definition I3DHError.h:47
@ NotImplementedInBackend
Operation is not implemented in the active backend.
Definition I3DHError.h:43
@ PropertyNotSet
Property not set.
Definition I3DHError.h:28
@ UnknownError
Unknown error.
Definition I3DHError.h:76
@ NoSessionConnection
No session connection.
Definition I3DHError.h:30
@ JavascriptError
Operation failed because of a JavaScript error.
Definition I3DHError.h:36
@ SpaceAlreadyExists
Operation failed because a 3D space with the given ID already exists.
Definition I3DHError.h:56
@ InvalidProperty
Invalid property.
Definition I3DHError.h:22