Custom class which extends the JavaScript's built-in Error class to encapsulate the Avaya CCaaS Chat SDK specific errors. Each ACSException will have specific event code and description which provides details about the exact error.
Following are the error specific event codes
Code
Description
ACS-301
Server URL not provided
ACS-302
Invalid init parameters
ACS-303
Invalid configuration values
ACS-304
Server responded unexpectedly
ACS-305
JWT token is invalid
ACS-306
Server is unreachable
ACS-307
Invalid IntegrationId
ACS-308
JWT Token not provided
ACS-309
Invalid URL
ACS-310
Avaya CCaaS Chat SDK not initialized
ACS-311
Avaya CCaaS Chat SDK failed to initialize
ACS-312
Unable to join defunct engagement
ACS-313
Engagement is not activated
ACS-314
Engagement doesn't exist
ACS-315
Engagement already active
ACS-316
PageIterator failed to initialized
ACS-317
Failed to fetch older messages
ACS-318
Retry connection is allowed only in case of Event Stream Failure
ACS-319
Failed to update engagement
ACS-320
Session not found
ACS-321
Cannot perform this operation as init/shutdown is in progress
ACS-322
Constraint Violation Error -
Along with these there are few other codes which are used specifically as a warning.
Code
Description
ACS-201
Custom configurations not provided, using default configuration
ACS-202
Removing all event handlers
ACS-203
Event doesn't exist
ACS-204
Avaya CCaaS Chat SDK is already initialized, subsequent init attempts will be ignored
Custom class which extends the JavaScript's built-in Error class to encapsulate the Avaya CCaaS Chat SDK specific errors. Each ACSException will have specific event code and description which provides details about the exact error.
Following are the error specific event codes
Along with these there are few other codes which are used specifically as a warning.