---
title: internal
framework: metal
role: symbol
role_heading: Type Property
path: metal/mtlcommandbuffererror-swift.struct/internal
---

# internal

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

## Declaration

```swift
static var `internal`: MTLCommandBufferError.Code { get }
```

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

### Errors codes

- [none](metal/mtlcommandbuffererror-swift.struct/none.md)
- [timeout](metal/mtlcommandbuffererror-swift.struct/timeout.md)
- [pageFault](metal/mtlcommandbuffererror-swift.struct/pagefault.md)
- [notPermitted](metal/mtlcommandbuffererror-swift.struct/notpermitted.md)
- [outOfMemory](metal/mtlcommandbuffererror-swift.struct/outofmemory.md)
- [invalidResource](metal/mtlcommandbuffererror-swift.struct/invalidresource.md)
- [memoryless](metal/mtlcommandbuffererror-swift.struct/memoryless.md)
- [deviceRemoved](metal/mtlcommandbuffererror-swift.struct/deviceremoved.md)
- [stackOverflow](metal/mtlcommandbuffererror-swift.struct/stackoverflow.md)
- [accessRevoked](metal/mtlcommandbuffererror-swift.struct/accessrevoked.md)
- [MTLCommandBufferError.Code](metal/mtlcommandbuffererror-swift.struct/code.md)
