---
title: MusicUnderstandingError
framework: musicunderstanding
role: symbol
role_heading: Enumeration
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, tvOS 27.0+, visionOS 27.0+, watchOS 27.0+]
path: musicunderstanding/musicunderstandingerror
---

# MusicUnderstandingError

An error that occurs during a music understanding session.

## Declaration

```swift
enum MusicUnderstandingError
```

## Topics

### Types of error cases

- [MusicUnderstandingError.emptyAnalysisSet](musicunderstanding/musicunderstandingerror/emptyanalysisset.md)
- [MusicUnderstandingError.internalError](musicunderstanding/musicunderstandingerror/internalerror.md)
- [MusicUnderstandingError.invalidAsset](musicunderstanding/musicunderstandingerror/invalidasset.md)
- [MusicUnderstandingError.sessionInProgress](musicunderstanding/musicunderstandingerror/sessioninprogress.md)

### Enumeration Cases

- [MusicUnderstandingError.hasProtectedContent](musicunderstanding/musicunderstandingerror/hasprotectedcontent.md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Error](swift/error.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
