ContactCenterError
public enum ContactCenterError : Error
Describes API errors.
- Tag: ContactCenterError
-
The
baseURLparameter provided duringContactCenterCommunicatorinstance creation does not represent valid HTTP URL.Declaration
Swift
case failedToBuildBaseURL -
The REST request payload received from the server is not in JSON format.
Declaration
Swift
case failedToCodeJSON(nestedErrors: [Error]) -
Unable to create valid HTTP request.
Declaration
Swift
case failedToCreateURLRequest -
Unknown error code received from the server.
Declaration
Swift
case badStatusCode(statusCode: Int, ContactCenterErrorResponse?) -
Unexpected response received from the server.
Declaration
Swift
case unexpectedResponse(URLResponse?) -
An application attempted to send the request with empty payload.
Declaration
Swift
case dataEmpty -
An unknown event received from the server.
Declaration
Swift
case failedToCast(String) -
Chat session has already been ended.
Declaration
Swift
case chatSessionNotFound -
Application attempted to call
getCaseHistoryorcloseCaseAPI requests before server specified a CRM case for the session (beforechatSessionCaseSetevent is received).Declaration
Swift
case chatSessionCaseNotSpecified
ContactCenterError Enumeration Reference