---
title: GSS_C_CALLING_ERROR_MASK
framework: GSS
role: symbol
role_heading: Global Variable
platforms: [iOS 5.0+, iPadOS 5.0+, Mac Catalyst 13.0+, macOS 10.14+, visionOS 1.0+]
path: gss/gss_c_calling_error_mask
---

# GSS_C_CALLING_ERROR_MASK

A mask with a width that matches the calling error field.

## Declaration

```swift
var GSS_C_CALLING_ERROR_MASK: UInt { get }
```

## Discussion

Discussion Shift the mask to the left by GSS_C_CALLING_ERROR_OFFSET to put it in the correct position within the major status code to match the calling error field. The GSS_CALLING_ERROR macro does this for you, before bitwise ANDing with its input.

## See Also

### Masks and Offsets

- [GSS_C_CALLING_ERROR_OFFSET](gss/gss_c_calling_error_offset.md)
- [GSS_C_ROUTINE_ERROR_MASK](gss/gss_c_routine_error_mask.md)
- [GSS_C_ROUTINE_ERROR_OFFSET](gss/gss_c_routine_error_offset.md)
- [GSS_C_SUPPLEMENTARY_MASK](gss/gss_c_supplementary_mask.md)
- [GSS_C_SUPPLEMENTARY_OFFSET](gss/gss_c_supplementary_offset.md)
