---
title: MTRInteractionError.Code
framework: matter
role: symbol
role_heading: Enumeration
path: matter/mtrinteractionerror/code
---

# MTRInteractionError.Code

## Declaration

```swift
enum Code
```

## Topics

### Enumeration Cases

- [MTRInteractionError.Code.busy](matter/mtrinteractionerror/code/busy.md)
- [MTRInteractionError.Code.constraintError](matter/mtrinteractionerror/code/constrainterror.md)
- [MTRInteractionError.Code.dataVersionMismatch](matter/mtrinteractionerror/code/dataversionmismatch.md)
- [MTRInteractionError.Code.failsafeRequired](matter/mtrinteractionerror/code/failsaferequired.md)
- [MTRInteractionError.Code.failure](matter/mtrinteractionerror/code/failure.md)
- [MTRInteractionError.Code.invalidAction](matter/mtrinteractionerror/code/invalidaction.md)
- [MTRInteractionError.Code.invalidCommand](matter/mtrinteractionerror/code/invalidcommand.md)
- [MTRInteractionError.Code.invalidDataType](matter/mtrinteractionerror/code/invaliddatatype.md)
- [MTRInteractionError.Code.invalidInState](matter/mtrinteractionerror/code/invalidinstate.md)
- [MTRInteractionError.Code.invalidSubscription](matter/mtrinteractionerror/code/invalidsubscription.md)
- [MTRInteractionError.Code.needsTimedInteraction](matter/mtrinteractionerror/code/needstimedinteraction.md)
- [MTRInteractionError.Code.noCommandResponse](matter/mtrinteractionerror/code/nocommandresponse.md)
- [MTRInteractionError.Code.noUpstreamSubscription](matter/mtrinteractionerror/code/noupstreamsubscription.md)
- [MTRInteractionError.Code.notFound](matter/mtrinteractionerror/code/notfound.md)
- [MTRInteractionError.Code.pathsExhausted](matter/mtrinteractionerror/code/pathsexhausted.md)
- [MTRInteractionError.Code.resourceExhausted](matter/mtrinteractionerror/code/resourceexhausted.md)
- [MTRInteractionError.Code.timedRequestMismatch](matter/mtrinteractionerror/code/timedrequestmismatch.md)
- [MTRInteractionError.Code.timeout](matter/mtrinteractionerror/code/timeout.md)
- [MTRInteractionError.Code.unreportableAttribute](matter/mtrinteractionerror/code/unreportableattribute.md)
- [MTRInteractionError.Code.unsupportedAccess](matter/mtrinteractionerror/code/unsupportedaccess.md)
- [MTRInteractionError.Code.unsupportedAttribute](matter/mtrinteractionerror/code/unsupportedattribute.md)
- [MTRInteractionError.Code.unsupportedCluster](matter/mtrinteractionerror/code/unsupportedcluster.md)
- [MTRInteractionError.Code.unsupportedCommand](matter/mtrinteractionerror/code/unsupportedcommand.md)
- [MTRInteractionError.Code.unsupportedEndpoint](matter/mtrinteractionerror/code/unsupportedendpoint.md)
- [MTRInteractionError.Code.unsupportedEvent](matter/mtrinteractionerror/code/unsupportedevent.md)
- [MTRInteractionError.Code.unsupportedRead](matter/mtrinteractionerror/code/unsupportedread.md)
- [MTRInteractionError.Code.unsupportedWrite](matter/mtrinteractionerror/code/unsupportedwrite.md)
- [MTRInteractionError.Code.accessRestricted](matter/mtrinteractionerror/code/accessrestricted.md)

### Initializers

- [init(rawValue:)](matter/mtrinteractionerror/code/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
