Bold360 and BoldChat Developer Center

BCErrorCodes.h File Reference

Go to the source code of this file.

Functions

typedef NS_ENUM (NSInteger, BCGeneralError)
 List of generic errors. More...
 
typedef NS_ENUM (NSInteger, BCChatSessionError)
 Error codes initiated from the BCChatSession. More...
 
typedef NS_ENUM (NSInteger, BCChatError)
 Error codes initiated from the BCChat. More...
 

Function Documentation

typedef NS_ENUM ( NSInteger  ,
BCGeneralError   
)

List of generic errors.

Since
Version 1.0

-100 < An unknown error happened.

Since
Version 1.0

-101 < There was error in connecting to the servers.

Since
Version 1.0

-102 < A malformatted message came from the server.

Since
Version 1.0

-103 < The access key, that is used is invalid.

Since
Version 1.0

-104 < Connecting to servers timed out.

Since
Version 1.0
typedef NS_ENUM ( NSInteger  ,
BCChatSessionError   
)

Error codes initiated from the BCChatSession.

Since
Version 1.0

-200 < The chat key required by the backend API calls is invalid.

Since
Version 1.0

-201 < The visitor ID is invalid.

Since
Version 1.0

-202 < The department ID is invalid.

Since
Version 1.0

-203 < The request was called in not a correct chat session state. Like pre chat form answers are sent while chatting.

Since
Version 1.0

-204 < An answer value of a required form field is not filled.

Since
Version 1.0

-205 < The email address is given in invalid format.

Since
Version 1.0

-206 < The phone number is given in invalid format.

Since
Version 1.0
typedef NS_ENUM ( NSInteger  ,
BCChatError   
)

Error codes initiated from the BCChat.

Since
Version 1.0

-300 < Starting chat failed.

Since
Version 1.0

-301 < Finishing chat failed.

Since
Version 1.0

-302 < Getting the unavailable chat form failed.

Since
Version 1.0

-303 < Connection to the chat servers failed.

Since
Version 1.0