<!--
{
  "documentType" : "article",
  "framework" : "CoreMedia",
  "identifier" : "/documentation/CoreMedia/cmclock-error-codes",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "CMClock Error Codes"
}
-->

# CMClock Error Codes

Constants that represent the errors in Core Media clock operations.

## Topics

### Constants

[`var kCMClockError_MissingRequiredParameter: OSStatus`](/documentation/CoreMedia/kCMClockError_MissingRequiredParameter)

A clock error that indicates a parameter is missing.

[`var kCMClockError_InvalidParameter: OSStatus`](/documentation/CoreMedia/kCMClockError_InvalidParameter)

A clock error that indicates a parameter isn’t valid.

[`var kCMClockError_AllocationFailed: OSStatus`](/documentation/CoreMedia/kCMClockError_AllocationFailed)

A clock error that indicates the memory allocation fails.

[`var kCMClockError_UnsupportedOperation: OSStatus`](/documentation/CoreMedia/kCMClockError_UnsupportedOperation)

A clock error that indicates the operation isn’t supported.



---

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)