Struct FTryllError¶
#include <TryllError.h>
Public Functions¶
| Type | Name |
|---|---|
| FTryllError () = default |
|
| FTryllError (ETryllErrorCode InCode, FString InMessage) |
|
| FTryllError (uint32 InCode, FString InMessage) |
|
| bool | IsOk () const |
| virtual | UPROPERTY (BlueprintReadOnly, Category="Tryll", meta=(ToolTip="Numeric code matching ETryllErrorCode or a server ErrorCode range. 0 = Ok.")) = 0 |
| UPROPERTY (BlueprintReadOnly, Category="Tryll", meta=(ToolTip="Human-readable error description from the server, or a client-originated message.")) |
Detailed Description¶
Error value returned by Tryll API calls and delivered to Blueprint delegates.
Public Functions Documentation¶
function FTryllError [1/3]¶
function FTryllError [2/3]¶
Construct from a typed ETryllErrorCode value.
function FTryllError [3/3]¶
Construct from a raw server-supplied numeric code (e.g. an unknown future value).
function IsOk¶
True when Code == 0 (no error). Use before reading Message in success-or-failure flows.
function UPROPERTY [1/2]¶
virtual FTryllError::UPROPERTY (
BlueprintReadOnly,
Category="Tryll",
meta=(ToolTip="Numeric code matching ETryllErrorCode or a server ErrorCode range. 0 = Ok.")
) = 0
Numeric code matching ETryllErrorCode / server ErrorCode range.
function UPROPERTY [2/2]¶
FTryllError::UPROPERTY (
BlueprintReadOnly,
Category="Tryll",
meta=(ToolTip="Human-readable error description from the server, or a client-originated message.")
)
Human-readable error description. Safe for display in UI and logs.
The documentation for this class was generated from the following file C:/_tryll/_monorepo/server/client-unreal/Source/TryllClient/Public/TryllError.h