Edit

PFMultiplayerGetErrorMessage

Get the human-readable form of an error generated by the PlayFab Multiplayer library.

Syntax

const char * PFMultiplayerGetErrorMessage(  
    HRESULT error  
)  

Parameters

error   HRESULT

An error code.

Return value

Type: const char *

The human-readable error message. The memory for the returned string remains valid for the lifetime of the process.

Remarks

These error messages aren't localized and are meant only for developers. Don't show them to players in your UI.

Requirements

Header: PFMultiplayer.h

See also

PFMultiplayer members
PlayFab Multiplayer C++ SDK error codes