Skip to content

Struct FTryllError

ClassList > FTryllError

More...

  • #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

int32 FTryllError::Code;

Numeric code matching ETryllErrorCode / server ErrorCode range.


variable Message

FString FTryllError::Message;

Human-readable error description. Safe for display in UI and logs.


Public Functions Documentation

function FTryllError [1/3]

FTryllError::FTryllError () = default

function FTryllError [2/3]

inline explicit FTryllError::FTryllError (
    ETryllErrorCode InCode,
    FString InMessage
) 

Construct from a typed ETryllErrorCode value.


function FTryllError [3/3]

inline explicit FTryllError::FTryllError (
    uint32 InCode,
    FString InMessage
) 

Construct from a raw server-supplied numeric code (e.g. an unknown future value).


function IsOk

inline bool FTryllError::IsOk () const

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