connectionFailure

Emitted when the application cannot connect to the backend - it's a fatal error. The error could be caused by a bad internet connection or a firewall blocking the traffic.

Sample payload

{
  "type": "connectionFailure"
}

Sample subscription code

sambaFrame.on('connectionFailure', (data) => {
   //Do something custom and inform user
});

Last updated