# GCKError.h File

[Classes](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#nested-classes) \| [Enumerations](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#enum-members) \| [Variables](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#var-members) GCKError.h File Reference Framework errors.
[More...](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#details)

|---|---|
| ## Classes ||
| class | [GCKError](https://developers.google.com/cast/docs/reference/ios/interface_g_c_k_error) |
|   | A subclass of [**NSError**](https://goo.gl/WJbrdL) for framework errors. [More...](https://developers.google.com/cast/docs/reference/ios/interface_g_c_k_error#details) |
|   ||

|---|---|
| ## Enumerations ||
| enum | [GCKErrorCode](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9cc) { [GCKErrorCodeNoError](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9ccac37b1d62e15e3d9288e601862ab84284) = 0, [GCKErrorCodeNetworkError](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9cca93c57d0e6b4194a3d493d111a88d987c) = 1, [GCKErrorCodeTimeout](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9cca1d18b87ca3636cbf1dfea103958f3cf3) = 2, [GCKErrorCodeDeviceAuthenticationFailure](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9ccaace6267da20900d5137481ac0a989e1c) = 3, [GCKErrorCodeInvalidRequest](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9cca65df62852e44a0747124c87f41f4983c) = 4, [GCKErrorCodeCancelled](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9cca24c18d95e6f27772bce1f6ff32b5e548) = 5, [GCKErrorCodeReplaced](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9ccaacdbce709e43b069989614cd684b2860) = 6, [GCKErrorCodeNotAllowed](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9ccac8f72bb0869bdfbc20d0fc7fe0cb2e2e) = 7, [GCKErrorCodeDuplicateRequest](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9ccad87bf86767499836ce0ef80a7a8debb7) = 8, [GCKErrorCodeInvalidState](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9ccaddd4d9928ccb8aafec10e025f56fa9e1) = 9, [GCKErrorCodeSendBufferFull](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9cca5ea3568647914752e785c72427e956fb) = 10, [GCKErrorCodeMessageTooBig](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9cca2de1d2879aab2b7fddc2caa48cfaf123) = 11, [GCKErrorCodeChannelNotConnected](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9cca3bfdcf60e0872af4cd37085afabaf288) = 12, [GCKErrorCodeDeviceAuthorizationFailure](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9ccaba0f296df4e1349b75e99486e0918404) = 13, [GCKErrorCodeDeviceNotConnected](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9ccaaf99a7cc73865e4128d6e9dbe7733cf2) = 14, [GCKErrorCodeProtocolVersionMismatch](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9ccaab3c728463e2f9b4254682685e77609e) = 15, [GCKErrorCodeMaxUsersConnected](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9cca7162c8102dd2cf9fd130756fd9019525) = 16, [GCKErrorCodeNetworkNotReachable](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9cca65e869c790e7122c9f5dea8cc2bbc458) = 17, [GCKErrorCodeProtocolError](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9cca8fa0af38f75138127e269f2ebf926084) = 18, [GCKErrorCodeAlreadyInitialized](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9ccab8d5cf516e984bcf3bee84309d8770eb) = 19, [GCKErrorCodeApplicationNotFound](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9cca3027b1595bb05753d9e591423da33fce) = 20, [GCKErrorCodeApplicationNotRunning](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9ccab9206c61b7b355d49d54cd46c34b7d19) = 21, [GCKErrorCodeInvalidApplicationSessionID](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9ccae6a09081e36ace8dc0c4754881f90632) = 22, [GCKErrorCodeSecureTransportError](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9cca5b645e1714bf771404a84e9355613bf2) = 23, [GCKErrorCodeSocketAlreadyConnected](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9cca0329273c5baa284dc622499a4ed22290) = 24, [GCKErrorCodeSocketInvalidAddress](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9cca27518c9af1351e7e44e2bd3cdd435c75) = 25, [GCKErrorCodeSocketInvalidParameter](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9ccaa4844aad99603141cff43966701510a3) = 26, [GCKErrorCodeInvalidResponse](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9cca955edf65f1179c0a3c08f30d74d31661) = 27, [GCKErrorCodeFailedSessionUpdate](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9cca74f2c0aaff59f9015d15e5cf35b61a89) = 28, [GCKErrorCodeSessionIsNotActive](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9ccafd129bc8536288922ed237489e659d34) = 29, [GCKErrorCodeMediaLoadFailed](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9cca15512b3ad7b0797186a4c86124a9224c) = 30, [GCKErrorCodeInvalidMediaPlayerState](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9ccac1d160730736784ba528c27a6a9affb1) = 31, [GCKErrorCodeNoMediaSession](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9ccac55735e1a8cf7502cf518d63c9004276) = 32, [GCKErrorCodeNotCastSession](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9cca0783a923edbb0fc9510e3aa6c179856e) = 33, [GCKErrorCodeMediaError](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9ccad48d47cd1bef7a87c7a4194824600bc7) = 34, [GCKErrorCodeAuthenticationErrorReceived](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9cca0adf14bac1be96087afd6dee0934f5eb) = 40, [GCKErrorCodeMalformedClientCertificate](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9cca0c9a82271853ca09ace83fce955c1acd) = 41, [GCKErrorCodeNotX509Certificate](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9cca8ec93e6e586b9db955a67dace0b88762) = 42, [GCKErrorCodeDeviceCertificateNotTrusted](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9cca40f6553c147f4af91edbd2b56c2a1cd2) = 43, [GCKErrorCodeSSLCertificateNotTrusted](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9cca4736b499953e99f2e46d5db085699def) = 44, [GCKErrorCodeMalformedAuthenticationResponse](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9cca90272758a323d42d1868b45545ca0b6f) = 45, [GCKErrorCodeDeviceCapabilityNotSupported](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9cca819a977379dffdbe5307631b235f26e0) = 46, [GCKErrorCodeCRLInvalid](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9ccae68c4b20124b7084b2518fa92bd0cdc6) = 47, [GCKErrorCodeCRLCheckFailed](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9cca1d3a437387511b0152af5023ef829391) = 48, [GCKErrorCodeBroadcastMessageEncryptionFailed](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9cca9ffde9250a8de0a101bade8bc8e42178) = 50, [GCKErrorCodeBroadcastKeyExchangeInvalidResponse](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9ccababdd93359652f604e8e5f18096cfd6f) = 51, [GCKErrorCodeBroadcastKeyExchangeInvalidInput](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9cca6e3b06b5042e6db0b4f3eda42dd11955) = 52, [GCKErrorCodeBroadcastKeyExchangeEmptyResponse](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9cca5e249c7192aa2c3026818f22f49146fa) = 53, [GCKErrorCodeBroadcastKeyExchangeRequestTimeout](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9cca250f26264c51485ff1be07f6fb55de59) = 54, [GCKErrorCodeBroadcastKeyExchangeFailedToFindDevice](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9ccacdc685e2a15b071c72bac292192be4ea) = 55, [GCKErrorCodeBroadcastKeyExchangeFailedToConnect](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9ccadeb1e52c130d68cae4d4a085f21f15b8) = 56, [GCKErrorCodeBroadcastMessageDropped](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9ccae2bd9f75b0ebc55c50d8408916c52e1f) = 57, [GCKErrorCodeBroadcastSocketError](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9cca8c51ee9bdcf93d07402749f30a9df205) = 58, [GCKErrorCodeBroadcastFailedToGenerateEncryptionKey](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9cca741db4cfaadedb0cacce2daa0d803053) = 59, [GCKErrorCodeGuestModeListenFailed](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9cca5d267c9609d1c339704b4dd2f1c5d11d) = 60, [GCKErrorCodeRemoteDisplayError](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9ccaac3210b986771208d860294c27ad7291) = 80, [GCKErrorCodeRemoteDisplayDeviceNotSupported](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9cca4e4a0291ca5bbd4a4cd824ce65626fa8) = 81, [GCKErrorCodeRemoteDisplayFeatureNotSupported](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9ccaec015681bf54bcda6c0f22e484b700c7) = 82, [GCKErrorCodeRemoteDisplayConfigurationRejectedByReceiver](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9cca2cf07b6c253a8286e8d6e74327b7650b) = 83, [GCKErrorCodeRemoteDisplayOpenGLError](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9cca1ac95a87dad62dfc45e22fc631432f7d) = 84, [GCKErrorCodeRemoteDisplayMetalError](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9cca02cc303853c60d85a50a9cbd9527cc4d) = 85, [GCKErrorCodeRemoteDisplayAudioConversionError](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9cca44898b94f688eebabbcc1c323fdea883) = 86, [GCKErrorCodeAppDidEnterBackground](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9cca0c8cf602e09bed37da6487645724e239) = 91, [GCKErrorCodeDisconnected](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9cca81430f1bf37e2ebeaea6ad120c56f0dd) = 92, [GCKErrorCodeUnsupportedFeature](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9ccad29e78cf154c53547ce6cc3bcf718936) = 93, [GCKErrorCodeUnknown](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9cca2589846508f94848e95a937ae242425b) = 99, [GCKErrorCodeDeviceAuthenticationMessageParseFailure](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9cca79e85e03296d3c77540926d98dfd5763) = 100, [GCKErrorCodeDeviceAuthenticationMessageChallengeReceivedFailure](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9cca1f863aa1959ddb0bdb0fda066e316710) = 101, [GCKErrorCodeDeviceAuthenticationTimeoutFailure](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9ccae4a50e3001fa24ac999e40b15e52423b) = 102, [GCKErrorCodeLaunchRequestCancelled](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9ccade38fb2a13a4a91ab380710aeff6f8b1) = 103, [GCKErrorCodeApplicationNotRunningWithNamespaceMismatched](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9cca58b583f1f10a6b568d2bb8a961b618be) = 104, [GCKErrorCodeApplicationNotRunningWhenResumed](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9cca658c122265cb0c634afcac78b83a087a) = 105, [GCKErrorCodeApplicationNotRunningForJoin](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9cca99046dab5bc0c0446850e1f451d1777a) = 106, [GCKErrorCodeApplicationNotRunningForJoinWhenReconnecting](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9ccabba509e4b3603278f7dbcf10b8adfb14) = 107 } |
|   | Framework error codes. [More...](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9cc) |
|   ||

|---|---|
| ## Variables ||
| NSString \*const | [kGCKErrorCustomDataKey](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#a6217ab0dfe1c723d8c6f4e19d61fe2f1) |
|   | The key for the customData JSON object associated with the error in the userInfo dictionary. [More...](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#a6217ab0dfe1c723d8c6f4e19d61fe2f1) |
|   ||
| NSString \*const | [kGCKErrorDetailedCodeKey](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aa541400c7dfa1ef7042496842fee2af0) |
|   | The key for an API-specific detailed error code. [More...](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aa541400c7dfa1ef7042496842fee2af0) |
|   ||
| NSString \*const | [kGCKErrorExtraInfoKey](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#a68bea9636ba369be8b7cf0d215060a48) |
|   | The key for extra error information, such as an API-specific error description. [More...](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#a68bea9636ba369be8b7cf0d215060a48) |
|   ||
| NSString \*const | [kGCKErrorReasonKey](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#a8b2cf940db9acc5b314401792f16541e) |
|   | The key for an API-specific error reason. [More...](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#a8b2cf940db9acc5b314401792f16541e) |
|   ||
| NSString \*const | [kGCKErrorDomain](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#a6bb1efae2c813837ddc16b043fe2bcc1) |
|   | The error domain for GCKErrorCode. [More...](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#a6bb1efae2c813837ddc16b043fe2bcc1) |
|   ||

## Detailed Description

Framework errors.

## Enumeration Type Documentation

|---|
| enum [GCKErrorCode](https://developers.google.com/cast/docs/reference/ios/g_c_k_error_8h#aea7a716be62f301015e255e1ba63a9cc) |

Framework error codes.

| Enumerator ||
|---|---|
| GCKErrorCodeNoError | Error Code indicating no error. |
| GCKErrorCodeNetworkError | Error code indicating a network I/O error. |
| GCKErrorCodeTimeout | Error code indicating that an operation has timed out. |
| GCKErrorCodeDeviceAuthenticationFailure | Error code indicating an authentication error. |
| GCKErrorCodeInvalidRequest | Error code indicating that an invalid request was made. |
| GCKErrorCodeCancelled | Error code indicating that an in-progress request has been cancelled, most likely because another action has preempted it. |
| GCKErrorCodeReplaced | Error code indicating that a request has been replaced by another request of the same type. |
| GCKErrorCodeNotAllowed | Error code indicating that the request was disallowed and could not be completed. |
| GCKErrorCodeDuplicateRequest | Error code indicating that a request could not be made because the same type of request is still in process. |
| GCKErrorCodeInvalidState | Error code indicating that the request is not allowed in the current state. |
| GCKErrorCodeSendBufferFull | Error code indicating that data could not be sent because the send buffer is full. |
| GCKErrorCodeMessageTooBig | Error indicating that the request could not be sent because the message exceeds the maximum allowed message size. |
| GCKErrorCodeChannelNotConnected | Error indicating that a channel operation could not be completed because the channel is not currently connected. |
| GCKErrorCodeDeviceAuthorizationFailure | Error indicating that the user is not authorized to use a Cast device. |
| GCKErrorCodeDeviceNotConnected | Error indicating that a device request could not be completed because there is no connection currently established to the device. |
| GCKErrorCodeProtocolVersionMismatch | Error indicating that there is a mismatch between the protocol versions being used on the sender and the receiver for a given namespace implementation. |
| GCKErrorCodeMaxUsersConnected | Error indicating that the maximum number of users is already connected to the receiver. |
| GCKErrorCodeNetworkNotReachable | Error indicating that the network is not reachable. |
| GCKErrorCodeProtocolError | Error indicating a protocol error (invalid data received). |
| GCKErrorCodeAlreadyInitialized | Error indicating that an attempt was made to initialize an already initialized singleton. |
| GCKErrorCodeApplicationNotFound | Error code indicating that a requested application could not be found. |
| GCKErrorCodeApplicationNotRunning | Error code indicating that a requested application is not currently running. |
| GCKErrorCodeInvalidApplicationSessionID | Error code indicating that the application session ID was not valid. |
| GCKErrorCodeSecureTransportError | Error code indicating a TLS error. The underlying error is one of the error codes as documented here: <https://developer.apple.com/library/mac/documentation/Security/Reference/secureTransportRef/> |
| GCKErrorCodeSocketAlreadyConnected | Error indicating that a connect attempt was made on a socket that is already connected. |
| GCKErrorCodeSocketInvalidAddress | Error indicating that an invalid network or socket address or address type was supplied to a method or initializer. |
| GCKErrorCodeSocketInvalidParameter | Error indicating that an invalid parameter was supplied to a method or initializer. |
| GCKErrorCodeInvalidResponse | Error indicating that the response received was invalid. |
| GCKErrorCodeFailedSessionUpdate | Error indicating that the session update went through, but all devices could not be moved. |
| GCKErrorCodeSessionIsNotActive | Error indicating that a device request could not be completed because the current session is not active. Since :   4.4.5 |
| GCKErrorCodeMediaLoadFailed | Error code indicating that a media load failed on the receiver side. |
| GCKErrorCodeInvalidMediaPlayerState | Error code indicating that a media media command failed because of the media player state. |
| GCKErrorCodeNoMediaSession | Error indicating that no media session is currently available. |
| GCKErrorCodeNotCastSession | Error code indicating that the current session is not a cast session. |
| GCKErrorCodeMediaError | Error code indicating that a generic media error happens. |
| GCKErrorCodeAuthenticationErrorReceived | Error code indicating that device authentication failed due to error received. |
| GCKErrorCodeMalformedClientCertificate | Error code indicating that device authentication failed because a malformed client certificate is received. |
| GCKErrorCodeNotX509Certificate | Error code indicating that device authentication failed because certificate received from Chromecast is not expected format. |
| GCKErrorCodeDeviceCertificateNotTrusted | Error code indicating that device authentication failed because the device certificate is not trusted. |
| GCKErrorCodeSSLCertificateNotTrusted | Error code indicating that device authentication failed because the SSL certificate is not trusted. |
| GCKErrorCodeMalformedAuthenticationResponse | Error code indicating that device authentication failed because the response from device is malformed. |
| GCKErrorCodeDeviceCapabilityNotSupported | Error code indicating that device authentication failed because the device capability shows unsupported. |
| GCKErrorCodeCRLInvalid | Error code indicating that device authentication failed because CRL from device is invalid. |
| GCKErrorCodeCRLCheckFailed | Error code indicating that device authentication failed because device certificate is revoked by CRL. |
| GCKErrorCodeBroadcastMessageEncryptionFailed | Error code indicating that the broadcast message failed to encrypt. |
| GCKErrorCodeBroadcastKeyExchangeInvalidResponse | Error code indicating that the key exchange response is invalid. |
| GCKErrorCodeBroadcastKeyExchangeInvalidInput | Error code indicating that the key exchange response shows an invalid input error. |
| GCKErrorCodeBroadcastKeyExchangeEmptyResponse | Error code indicating that the key exchange response doesn't contain a wrapped sender key. |
| GCKErrorCodeBroadcastKeyExchangeRequestTimeout | Error code indicating that the key exchange request has timed out. |
| GCKErrorCodeBroadcastKeyExchangeFailedToFindDevice | Error code indicating that no device that is capable for key exchange can be found. |
| GCKErrorCodeBroadcastKeyExchangeFailedToConnect | Error code indicating that it failed to connect to the device that is capable for key exchange. |
| GCKErrorCodeBroadcastMessageDropped | Error code indicating that the broadcast message is dropped because of cache limit. |
| GCKErrorCodeBroadcastSocketError | Error code indicating that the broadcast message is not sent out due to socket error. |
| GCKErrorCodeBroadcastFailedToGenerateEncryptionKey | Error code indicating that the broadcast encryption key is failed to be generated. |
| GCKErrorCodeGuestModeListenFailed | Error code indicating that the listening failed. |
| GCKErrorCodeRemoteDisplayError | Error code indicating that an unspecified Remote Display error has occurred. Additional details may be available in the value associated with the key kGCKErrorExtraInfoKey in the user info. |
| GCKErrorCodeRemoteDisplayDeviceNotSupported | Error code indicating that the target device does not support Remote Display. |
| GCKErrorCodeRemoteDisplayFeatureNotSupported | Error code indicating that the target device does not support a paraticular Remote Display feature. |
| GCKErrorCodeRemoteDisplayConfigurationRejectedByReceiver | Error code indicating that the provided Remote Display configuration has been rejected by the receiver device. |
| GCKErrorCodeRemoteDisplayOpenGLError | Error indicating that an OpenGL error has occurred. Additional details may be available in the value associated with the key kGCKErrorExtraInfoKey in the user info. |
| GCKErrorCodeRemoteDisplayMetalError | Error indicating that a Metal error has occurred. Additional details may be available in the value associated with the key kGCKErrorExtraInfoKey in the user info. |
| GCKErrorCodeRemoteDisplayAudioConversionError | Error indicating that an audio conversion error has occurred. Additional details may be available in the value associated with the key kGCKErrorExtraInfoKey in the user info. |
| GCKErrorCodeAppDidEnterBackground | Error code indicating that the application moved to the background. |
| GCKErrorCodeDisconnected | Error code indicating that the connection to the receiver was closed. |
| GCKErrorCodeUnsupportedFeature | Error code indicating that the feature or action is unsupported either on this iOS device or the receiver. |
| GCKErrorCodeUnknown | Error code indicating that an unknown, unexpected error has occurred. |
| GCKErrorCodeDeviceAuthenticationMessageParseFailure | Error code indicating that the authentication message received was not properly formatted and encountered an error while parsing. Since :   4.4.5 |
| GCKErrorCodeDeviceAuthenticationMessageChallengeReceivedFailure | Error code indicating that the authentication message received had the `challenge` property set to a non-null value. Since :   4.4.5 |
| GCKErrorCodeDeviceAuthenticationTimeoutFailure | Error code indicating that the authentication message request timed out. Since :   4.4.5 |
| GCKErrorCodeLaunchRequestCancelled | Error code indicating that an Application launch request was cancelled. Since :   4.6.0 |
| GCKErrorCodeApplicationNotRunningWithNamespaceMismatched | Error code indicating that a requested application is not currently running due to a mismatched namespace. |
| GCKErrorCodeApplicationNotRunningWhenResumed | Error code indicating that a requested application is not currently running when resumed. |
| GCKErrorCodeApplicationNotRunningForJoin | Error code indicating that a request application can not be joined. |
| GCKErrorCodeApplicationNotRunningForJoinWhenReconnecting | Error code indicating that a requested application can not be joined when reconnecting. |

## Variable Documentation

|---|
| NSString\* const kGCKErrorCustomDataKey |

The key for the customData JSON object associated with the error in the userInfo dictionary.

|---|
| NSString\* const kGCKErrorDetailedCodeKey |

The key for an API-specific detailed error code.

Since
:   4.4.3

|---|
| NSString\* const kGCKErrorExtraInfoKey |

The key for extra error information, such as an API-specific error description.

|---|
| NSString\* const kGCKErrorReasonKey |

The key for an API-specific error reason.

Since
:   4.4.3

|---|
| NSString\* const kGCKErrorDomain |

The error domain for GCKErrorCode.