Last updated on 
                
                    Apr 27, 2021
                
            
            
                 | 
                
                    Also applies to ColdFusion
                
            
        
        
            
        
    
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. |