> ## Documentation Index
> Fetch the complete documentation index at: https://docs.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](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/typedefs.md)

An error code.

**`errorMessage`**   [PartyString\*](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/typedefs.md)\
*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](https://docs.xbox.com/services/playfab/multiplayer/networking/xblreference/classes/PartyXblManager/partyxblmanager.md)


## Related topics

- [PartyXblChatUser::GetLocal](https://docs.xbox.com/services/playfab/multiplayer/networking/xblreference/classes/PartyXblChatUser/methods/partyxblchatuser_getlocal.md)
- [PartyXblChatUser::GetXboxUserId](https://docs.xbox.com/services/playfab/multiplayer/networking/xblreference/classes/PartyXblChatUser/methods/partyxblchatuser_getxboxuserid.md)
- [PartyXblChatUser::GetCustomContext](https://docs.xbox.com/services/playfab/multiplayer/networking/xblreference/classes/PartyXblChatUser/methods/partyxblchatuser_getcustomcontext.md)
- [PartyXblLocalChatUser::GetAccessibilitySettings](https://docs.xbox.com/services/playfab/multiplayer/networking/xblreference/classes/PartyXblLocalChatUser/methods/partyxbllocalchatuser_getaccessibilitysettings.md)
- [PartyXblLocalChatUser::GetRequiredChatPermissionInfo](https://docs.xbox.com/services/playfab/multiplayer/networking/xblreference/classes/PartyXblLocalChatUser/methods/partyxbllocalchatuser_getrequiredchatpermissioninfo.md)
