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

# GetShapeXmaParserErrorSet

> GetShapeXmaParserErrorSet

# GetShapeXmaParserErrorSet

Gets a flag that indicates whether an XMA parser error has occurred.

<a id="syntaxSection" />

## Syntax

```cpp theme={null}
bool GetShapeXmaParserErrorSet(  
         const SHAPE_XMA_CONTEXT* context  
)  
```

<a id="parametersSection" />

### Parameters

*context*   \_In\_\
Type: [SHAPE\_XMA\_CONTEXT](/reference/audio/shapexmacontext/structs/shape_xma_context)\*

Pointer to a [SHAPE\_XMA\_CONTEXT](/reference/audio/shapexmacontext/structs/shape_xma_context) object.

<a id="retvalSection" />

### Return value

Type: bool

True if a parser error has occurred.

<a id="remarksSection" />

## Remarks

The Scalable Hardware Audio Processing Engine (SHAPE) uses the Status and Reporting Queue (SRQ) to report various events that don't require real-time responses.

If the return value is true, call [GetShapeXmaParserErrorStatus](/reference/audio/shapexmacontext/functions/getshapexmaparsererrorstatus) to obtain the error value.

For more information, see the [XMA](/build/console-features/audio/overviews/shape-overview#ID4EYD) section of [Overview of SHAPE](/build/console-features/audio/overviews/shape-overview).

<a id="requirementsSection" />

## Requirements

**Header:** shapexmacontext.h

**Supported platforms:** XBOX One family consoles and XBOX Series consoles

<a id="seealsoSection" />

## See also

[ShapeXmaContext](/reference/audio/shapexmacontext/shapexmacontext_members)


## Related topics

- [GetShapeXmaParserErrorStatus](/reference/audio/shapexmacontext/functions/getshapexmaparsererrorstatus.md)
- [ShapeXmaContext](/reference/audio/shapexmacontext/shapexmacontext_members.md)
- [GetShapeXmaErrorSet](/reference/audio/shapexmacontext/functions/getshapexmaerrorset.md)
- [GetShapeXmaErrorStatus](/reference/audio/shapexmacontext/functions/getshapexmaerrorstatus.md)
- [SHAPE_XMA_CONTEXT](/reference/audio/shapexmacontext/structs/shape_xma_context.md)
