Loading...
Searching...
No Matches
FOnlineErrorAccelByte Class Reference
Inheritance diagram for FOnlineErrorAccelByte:

Static Public Member Functions

static FOnlineErrorAccelByte CreateError (const FString &ErrorNamespace, const FString &ErrorKey, EOnlineErrorResult Result=EOnlineErrorResult::RequestFailure)
 Create factory for FOnlineErrorAccelByte with specified ErrorKey and to get the Localized ErrorMessage as well.
static FOnlineErrorAccelByte CreateError (const FString &ErrorNamespace, const int32 ErrorCode, EOnlineErrorResult Result=EOnlineErrorResult::RequestFailure)
 Create factory for FOnlineErrorAccelByte with specified ErrorCode and to get the Localized ErrorMessage as well.
static FOnlineErrorAccelByte CreateError (const FString &ErrorNamespace, FOnlineError ErrorInfo)
 Create factory for FOnlineErrorAccelByte using FOnlineError object and to get the Localized ErrorMessage as well.
static FString PublicGetErrorKey (const int32 ErrorCode, const FString &DefaultErrorKey=TEXT(""))
 Public function to get ErrorKey from an ErrorCode.

Member Function Documentation

◆ PublicGetErrorKey()

FString FOnlineErrorAccelByte::PublicGetErrorKey ( const int32 ErrorCode,
const FString & DefaultErrorKey = TEXT("") )
static

Public function to get ErrorKey from an ErrorCode.

Parameters
ErrorCodethe ErrorCode(usually from BE) to search on the Table
DefaultErrorKeyErrorKey to put if the ErrorCode not found on the table