> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PartyXblManager::GetErrorMessage

> Get the human-readable form of an error generated by the Party XBOX Live Helper library.

Get the human-readable form of an error generated by the Party XBOX Live Helper library.

## Syntax

```cpp theme={null}
PartyError GetErrorMessage(  
    PartyError error,  
    PartyString* errorMessage  
)  
```

### Parameters

**`error`**   [PartyError](/services/playfab/multiplayer/networking/reference/typedefs)

An error code.

**`errorMessage`**   [PartyString\*](/services/playfab/multiplayer/networking/reference/typedefs)\
*library-allocated output*

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

### Return value

PartyError

`c_partyErrorSuccess` if the call succeeded or an error code otherwise.

## Remarks

These error messages are not localized and are only intended for developers, i.e. these error messages are not intended to be shown to users via UI.

## Requirements

**Header:** PartyXboxLive.h

## See also

[PartyXblManager](/services/playfab/multiplayer/networking/xblreference/classes/PartyXblManager/partyxblmanager)
