Struct FTryllError¶
#include <TryllError.h>
Public Attributes¶
| Type | Name |
|---|---|
| int32 | Code = 0 |
| FString | Message |
Public Functions¶
| Type | Name |
|---|---|
| FTryllError () = default |
|
| FTryllError (ETryllErrorCode InCode, FString InMessage) |
|
| FTryllError (uint32 InCode, FString InMessage) |
|
| bool | IsOk () const |
Detailed Description¶
Error value returned by Tryll API calls and delivered to Blueprint delegates.
Public Attributes Documentation¶
variable Code¶
Numeric code matching ETryllErrorCode / server ErrorCode range.
variable Message¶
Human-readable error description. Safe for display in UI and logs.
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.
The documentation for this class was generated from the following file C:/_tryll/_monorepo3/tryll/clients/unreal/Source/TryllClient/Public/TryllError.h