---
title: SMSService.Error
framework: TelephonyMessagingKit
role: symbol
role_heading: Enumeration
platforms: [iOS 26.0+]
path: telephonymessagingkit/smsservice/error
---

# SMSService.Error

A type to define errors that can occur when performing SMS operations.

## Declaration

```swift
enum Error
```

## Topics

### Identifying errors

- [SMSService.Error.notSupported](telephonymessagingkit/smsservice/error/notsupported.md)
- [SMSService.Error.permanentFailure](telephonymessagingkit/smsservice/error/permanentfailure.md)
- [SMSService.Error.temporaryFailure](telephonymessagingkit/smsservice/error/temporaryfailure.md)
- [SMSService.Error.unknown](telephonymessagingkit/smsservice/error/unknown.md)

## Relationships

### Conforms To

- [Decodable](swift/decodable.md)
- [Encodable](swift/encodable.md)
- [Equatable](swift/equatable.md)
- [Error](swift/error.md)
- [Hashable](swift/hashable.md)
- [LocalizedError](foundation/localizederror.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
