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

# TelephonyMessagingSession.Error

An enumeration of errors that can result from operations on a messaging session.

```
enum Error
```

## Topics

### Inspecting errors

[`case invalidSession`](/documentation/TelephonyMessagingKit/TelephonyMessagingSession/Error/invalidSession)

The session is invalid.

[`case serviceUnavailable`](/documentation/TelephonyMessagingKit/TelephonyMessagingSession/Error/serviceUnavailable)

The service is unavailable.

[`case invalidArgument`](/documentation/TelephonyMessagingKit/TelephonyMessagingSession/Error/invalidArgument)

A call used an invalid argument.

[`case internalError`](/documentation/TelephonyMessagingKit/TelephonyMessagingSession/Error/internalError)

The session encountered an internal service error.

### Hashing

### Comparing errors

## Relationships

### Conforms To

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

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

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

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

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

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

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

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

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

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

---

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)