<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "SiriKitCloudMedia",
  "identifier" : "/documentation/SiriKitCloudMedia/UnderlyingError",
  "metadataVersion" : "0.1.0",
  "role" : "Object",
  "symbol" : {
    "kind" : "Object",
    "modules" : [
      "SiriKit Cloud Media"
    ],
    "preciseIdentifier" : "data:sirikit_media_api:UnderlyingError"
  },
  "title" : "UnderlyingError"
}
-->

# UnderlyingError

An object that describes a system framework error.

```
object UnderlyingError
```

## Discussion

The client depends on a number of system frameworks that manage user interaction and media playback, each of which can generate its own errors. For example, if your service provides a [`Content`](/documentation/SiriKitCloudMedia/Content) object that contains a malformed or expired URL, the <doc://com.apple.documentation/documentation/AVFoundation> framework generates an error when it attempts to load that URL. The client uses this object to provide details of the framework error when it reports the playback failure to your service. For more information, see [`Recover from Content Playback Failure`](/documentation/SiriKitCloudMedia/contentPlaybackFailure).

An error code is unique only within its associated error domain. Therefore, use `errorDomain` to determine the origin of the error on the client, and then use `errorCode` to identify the specific error within that domain.

---

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)