# Google.Play.Instant.CookieApi.CookieApiException

An exception thrown by the methods of [CookieApi](https://developer.android.com/reference/unity/class/Google/Play/Instant/CookieApi#classGoogle_1_1Play_1_1Instant_1_1CookieApi) if there is a failure while making a call to [Google](https://developer.android.com/reference/unity/namespace/Google#namespaceGoogle)[Play](https://developer.android.com/reference/unity/namespace/Google/Play#namespaceGoogle_1_1Play) Services.

## Summary

### Inheritance

Inherits from: Exception

| ### Constructors and Destructors ||
|---|---|
| `https://developer.android.com/reference/unity/class/Google/Play/Instant/CookieApi/CookieApiException#classGoogle_1_1Play_1_1Instant_1_1CookieApi_1_1CookieApiException_1a527b2400d3fd3e27d43dadfe9c00dc78(string message, Exception innerException)` Constructor. ||
| `https://developer.android.com/reference/unity/class/Google/Play/Instant/CookieApi/CookieApiException#classGoogle_1_1Play_1_1Instant_1_1CookieApi_1_1CookieApiException_1ae75a6e82103d873f620c7e13b0e22747(string message)` Constructor. ||

## Public functions

### CookieApiException

```c#
 CookieApiException(
  string message,
  Exception innerException
)
```
Constructor.

<br />

Details Parameters `message` The message that describes the error. `innerException` The underlying cause of this exception.

### CookieApiException

```c#
 CookieApiException(
  string message
)
```
Constructor.

<br />

Details Parameters `message` The message that describes the error.