Enumeration

MPError.Code

Error codes for the Media Player error domain.

Declaration

enum MPError.Code : Int, _ErrorCodeProtocol

Topics

Enumeration Cases

case unknown

The requested operation could not be completed due to an unknown error.

case permissionDenied

The operation could not be performed because the user does not have permission for the request.

case cloudServiceCapabilityMissing

The operation could not be performed because iCloud services are not enabled.

case networkConnectionFailed

The operation failed due to the device not being able to connect to the network.

case notFound

The operation failed because the requested identifier could not be found in the current storefront.

case notSupported

The operation failed because the requested operation is not supported.

case cancelled

The requested operation was cancelled before it was completed.

case requestTimedOut

The requested operation timed out.

See Also

Error Codes

static var unknown: MPError.Code

The requested operation could not be completed due to an unknown error.

static var permissionDenied: MPError.Code

The operation could not be performed because the user does not have permission for the request.

static var cloudServiceCapabilityMissing: MPError.Code

The operation could not be performed because iCloud services are not enabled.

static var networkConnectionFailed: MPError.Code

The operation failed due to the device not being able to connect to the network.

static var notFound: MPError.Code

The operation failed because the requested identifier could not be found in the current storefront.

static var notSupported: MPError.Code

The operation failed because the requested operation is not supported.

static var cancelled: MPError.Code

The requested operation was cancelled before it was completed.

static var requestTimedOut: MPError.Code

The requested operation timed out.