<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "BackgroundAssets",
  "identifier" : "/documentation/BackgroundAssets/BAManagedErrorCode",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Background Assets"
    ],
    "preciseIdentifier" : "c:@E@BAManagedErrorCode"
  },
  "title" : "BAManagedErrorCode"
}
-->

# BAManagedErrorCode

An error code for a managed asset pack.

```
enum BAManagedErrorCode : NSInteger;
```

## Topics

### Errors

[`BAManagedErrorCodeAssetPackNotFound`](/documentation/BackgroundAssets/BAManagedErrorCode/BAManagedErrorCodeAssetPackNotFound)

An error code that indicates the system couldn’t find an asset pack with the given identifier.

[`BAManagedErrorCodeFileNotFound`](/documentation/BackgroundAssets/BAManagedErrorCode/BAManagedErrorCodeFileNotFound)

An error code that indicates the system couldn’t find a file at the specified path.

### Enumeration Cases

[`BAManagedErrorCodeLocalAvailabilityFailure`](/documentation/BackgroundAssets/BAManagedErrorCode/BAManagedErrorCodeLocalAvailabilityFailure)

An error code that indicates that the system couldn’t ensure the local availability of some or all of the requested asset packs.

---

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)