---
title: label
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtlcommandbufferencoderinfo/label
---

# label

The name of the encoder that generates the error information.

## Declaration

```swift
var label: String { get }
```

## Discussion

Discussion Metal assigns the value of the property to the encoder’s label property.

## See Also

### Inspecting execution information

- [debugSignposts](metal/mtlcommandbufferencoderinfo/debugsignposts.md)
- [errorState](metal/mtlcommandbufferencoderinfo/errorstate.md)
- [MTLCommandEncoderErrorState](metal/mtlcommandencodererrorstate.md)
