---
title: MPError.Code.cancelled
framework: Media Player
role: symbol
role_heading: Case
platforms: [iOS 10.1+, iPadOS 10.1+, Mac Catalyst 13.1+, macOS 10.14.2+, tvOS 10.1+, visionOS 1.0+, watchOS 5.0+]
path: mediaplayer/mperror/code/cancelled
---

# MPError.Code.cancelled

An error that indicates the system canceled the requested operation before it completed.

## Declaration

```swift
case cancelled
```

## See Also

### Error codes

- [MPError.Code.cloudServiceCapabilityMissing](mediaplayer/mperror/code/cloudservicecapabilitymissing.md)
- [MPError.Code.networkConnectionFailed](mediaplayer/mperror/code/networkconnectionfailed.md)
- [MPError.Code.notFound](mediaplayer/mperror/code/notfound.md)
- [MPError.Code.notSupported](mediaplayer/mperror/code/notsupported.md)
- [MPError.Code.permissionDenied](mediaplayer/mperror/code/permissiondenied.md)
- [MPError.Code.requestTimedOut](mediaplayer/mperror/code/requesttimedout.md)
- [MPError.Code.unknown](mediaplayer/mperror/code/unknown.md)
