Error handling in ColdFusion WebSocket

The WebSocket errors are categorized as follows:

Category

Description

Response code

Channel Error

For example, channel not present or client has already subscribed to the channel

-1

Application Error

Runtime errors while invoking CFC

4001

Success

On successful completion of request

0

 

Note: If you have defined an Error Handler, it receives the responses -1 and 4001. If not defined, the response goes to Message Handler.

 Adobe

Get help faster and easier

New user?