---
title: MTRError.Code.invalidState
framework: matter
role: symbol
role_heading: Case
path: matter/mtrerror/code/invalidstate
---

# MTRError.Code.invalidState

## Declaration

```swift
case invalidState
```
