---
title: MEMessageSecurityError
framework: mailkit
role: symbol
role_heading: Structure
path: mailkit/memessagesecurityerror
---

# MEMessageSecurityError

## Declaration

```swift
struct MEMessageSecurityError
```

## Topics

### Type Properties

- [decodingError](mailkit/memessagesecurityerror/decodingerror.md)
- [encodingError](mailkit/memessagesecurityerror/encodingerror.md)
- [errorDomain](mailkit/memessagesecurityerror/errordomain.md)

### Enumerations

- [MEMessageSecurityError.Code](mailkit/memessagesecurityerror/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)
