Errors from the KustomerChat. See the error’s `localizedDescription` property for a description the error.

There are two special types of errors:

  1. `named(String)`

  2. `generic(Error)`




### `named(_:)`

A custom error with a meaningful `localizedDescription` parameter.



### `generic(_:)`

A standard error from a system or other library, wrapped in `KError`. Examine the nested error parameter to find the description.



### `alamofire(_:)`

An Alamofire error. Examine the nested error parameter to find the description.



### `api(details:)`

An error from our REST API. The details parameter contains the full json error object from the REST API.



### `noAPSEnvironmentEntitlement`



### `invalidDeviceToken`



### `pushRegistrationNotNeededNoCustomerIPC`



### `noDeviceToken`



### `identificationFailed(_:)`



### `channelGroupNameNotFound`



### `invalidJwt`



### `alreadyIdentifiedWithExternalId(externalId:)`



### `alreadyIdentifiedWithEmail(email:)`



### `couldNotDeregisterPush`



### `couldNotDeregisterPushBecause(_:)`



### `couldNotDeregisterPushBecauseOf(_:)`



### `unknownLanguageCode(_:)`



### `describe(details:)`



### `describeUnknownParameter(parameter:details:)`



### `describeParameterWrongType(parameter:details:)`



### `describeNoParamtersSpecified`



### `describeCustomerDateParametersNotSupported`



### `describeNotAvailableForLocalCustomer`



### `describeNotSignedInAsThatCustomerId`



### `describeCurrentCustomerIsAnonymous`

You can only describe a non-anonymous customer. A customer becomes non-anon in two ways: having at least one conversation, or having an externalId/email assigned to them with log in.



### `kbNetworkError`



### `kbArticleIdNotFound`



### `kbCategoryIdNotFound`



### `localDataStoreError`



### `invalidConversationId`



### `malformedConversationId`



### `unauthorizedConversationId`



### `genericOpenConversationError(details:)`



### `couldNotCreateSession`



### `cancelledMessageCreateDataRequest`



### `internetOffline`



### `invalidAssistantId`



### `couldNotReadLocalFile`



### `httpAttachmentUploadWasCancelled`



## Localized Descriptions

### `errorDescription`

A description of a `KError`, similar to a localizedDescription on an `Error`