---
title: MTRError
framework: matter
role: symbol
role_heading: Structure
path: matter/mtrerror
---

# MTRError

## Declaration

```swift
struct MTRError
```

## Topics

### Type Properties

- [bufferTooSmall](matter/mtrerror/buffertoosmall.md)
- [cancelled](matter/mtrerror/cancelled.md)
- [dnssdUnauthorized](matter/mtrerror/dnssdunauthorized.md)
- [fabricExists](matter/mtrerror/fabricexists.md)
- [generalError](matter/mtrerror/generalerror.md)
- [integrityCheckFailed](matter/mtrerror/integritycheckfailed.md)
- [invalidArgument](matter/mtrerror/invalidargument.md)
- [invalidIntegerValue](matter/mtrerror/invalidintegervalue.md)
- [invalidMessageLength](matter/mtrerror/invalidmessagelength.md)
- [invalidState](matter/mtrerror/invalidstate.md)
- [invalidStringLength](matter/mtrerror/invalidstringlength.md)
- [schemaMismatch](matter/mtrerror/schemamismatch.md)
- [timeout](matter/mtrerror/timeout.md)
- [tlvDecodeFailed](matter/mtrerror/tlvdecodefailed.md)
- [unknownSchema](matter/mtrerror/unknownschema.md)
- [wrongAddressType](matter/mtrerror/wrongaddresstype.md)
- [accessDenied](matter/mtrerror/accessdenied.md)
- [busy](matter/mtrerror/busy.md)
- [errorDomain](matter/mtrerror/errordomain.md)
- [notFound](matter/mtrerror/notfound.md)

### Enumerations

- [MTRError.Code](matter/mtrerror/code.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)
