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

# XblGetErrorCondition

> XblGetErrorCondition

# XblGetErrorCondition

Agrupa os valores HRESULT retornados pelas APIs Xbl em categorias de condição de erro acionáveis.

## Sintaxe

```cpp theme={null}
XblErrorCondition XblGetErrorCondition(  
         HRESULT hr  
)  
```

### Parâmetros

*hr*   \_In\_\
Tipo: HRESULT

Valor HRESULT retornado por uma API Xbl.

### Valor retornado

Tipo: XblErrorCondition

O XblErrorCondition correspondente.

## Requisitos

**Cabeçalho:** errors\_c.h

**Biblioteca:** Microsoft.Xbox.Services.14x.GDK.C.lib

## Confira também

[errors\_c](/pt-BR/reference/live/xsapi-c/errors_c/errors_c_members)


## Related topics

- [XblErrorCondition](/pt-BR/reference/live/xsapi-c/errors_c/enums/xblerrorcondition.md)
- [Wrappers de API C# do Unity para o GDK](/pt-BR/build/gdk-and-engines/unity/unity-api-wrappers.md)
- [XblHttpCallGetNetworkErrorCode](/pt-BR/reference/live/xsapi-c/http_call_c/functions/xblhttpcallgetnetworkerrorcode.md)
- [XblHttpCallGetPlatformNetworkErrorMessage](/pt-BR/reference/live/xsapi-c/http_call_c/functions/xblhttpcallgetplatformnetworkerrormessage.md)
- [PartyXblManager::GetErrorMessage](/pt-BR/services/playfab/multiplayer/networking/xblreference/classes/PartyXblManager/methods/partyxblmanager_geterrormessage.md)
