<!--
{
  "availability" : [
    "iOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "TelephonyMessagingKit",
  "identifier" : "/documentation/TelephonyMessagingKit/SMSService/Error",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "TelephonyMessagingKit"
    ],
    "preciseIdentifier" : "s:21TelephonyMessagingKit10SMSServiceC5ErrorO"
  },
  "title" : "SMSService.Error"
}
-->

# SMSService.Error

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

```
enum Error
```

## Topics

### Identifying errors

[`case notSupported`](/documentation/TelephonyMessagingKit/SMSService/Error/notSupported)

The operation isn’t supported.

[`case permanentFailure`](/documentation/TelephonyMessagingKit/SMSService/Error/permanentFailure)

The operation failed permanently.

[`case temporaryFailure`](/documentation/TelephonyMessagingKit/SMSService/Error/temporaryFailure)

The operation failed temporarily.

[`case unknown`](/documentation/TelephonyMessagingKit/SMSService/Error/unknown)

An unknown problem caused the error.

### Encoding and decoding

### Hashing

### Comparing errors

## Relationships

### Conforms To

[`Equatable`](/documentation/Swift/Equatable)

[`Hashable`](/documentation/Swift/Hashable)

[`Error`](/documentation/Swift/Error)

[`LocalizedError`](/documentation/Foundation/LocalizedError)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Decodable`](/documentation/Swift/Decodable)

[`Sendable`](/documentation/Swift/Sendable)

[`Encodable`](/documentation/Swift/Encodable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)