---
title: MTLTensorError
framework: metal
role: symbol
role_heading: Structure
path: metal/mtltensorerror-swift.struct
---

# MTLTensorError

## Declaration

```swift
struct MTLTensorError
```

## Topics

### Type Properties

- [errorDomain](metal/mtltensorerror-swift.struct/errordomain.md)
- [internalError](metal/mtltensorerror-swift.struct/internalerror.md)
- [invalidDescriptor](metal/mtltensorerror-swift.struct/invaliddescriptor.md)
- [none](metal/mtltensorerror-swift.struct/none.md)

## Relationships

### Conforms To

- [CustomNSError](foundation/customnserror.md)
- [Equatable](swift/equatable.md)
- [Error](swift/error.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Structures

- [MTLBinaryArchiveError](metal/mtlbinaryarchiveerror-swift.struct.md)
- [MTLCommandBufferError](metal/mtlcommandbuffererror-swift.struct.md)
- [MTLComponentTransform](metal/mtlcomponenttransform.md)
- [MTLCounterSampleBufferError](metal/mtlcountersamplebuffererror-swift.struct.md)
- [MTLDynamicLibraryError](metal/mtldynamiclibraryerror-swift.struct.md)
- [MTLIOError](metal/mtlioerror-swift.struct.md)
- [MTLPackedFloatQuaternion](metal/mtlpackedfloatquaternion.md)
- [MTLStitchedLibraryOptions](metal/mtlstitchedlibraryoptions.md)
- [NSDeviceCertification](metal/nsdevicecertification.md)
- [NSProcessPerformanceProfile](metal/nsprocessperformanceprofile.md)
