---
title: MTLCounterSampleBufferError.Code.internal
framework: metal
role: symbol
role_heading: Case
path: metal/mtlcountersamplebuffererror-swift.struct/code/internal
---

# MTLCounterSampleBufferError.Code.internal

An error code that indicates the Metal framework has an internal problem.

## Declaration

```swift
case `internal`
```

## Discussion

Discussion The local description contains the underlying error code. You can report the scenario that generated this error code with Feedback Assistant.

## See Also

### Error codes

- [MTLCounterSampleBufferError.Code.outOfMemory](metal/mtlcountersamplebuffererror-swift.struct/code/outofmemory.md)
- [MTLCounterSampleBufferError.Code.invalid](metal/mtlcountersamplebuffererror-swift.struct/code/invalid.md)
- [MTLCounterSampleBufferError.Code.outOfMemory](metal/mtlcountersamplebuffererror-swift.struct/code/outofmemory.md)
- [MTLCounterSampleBufferError.Code.invalid](metal/mtlcountersamplebuffererror-swift.struct/code/invalid.md)
