Error Events

session_full

Emitted when a user is attempting to connect to a co-editing session that has reached the maximum number of allowed users, as determined by the subscription tier.

//emitted whenever remote changes have updated the document
codox.on("error", function(data){
if (data.message === 'session_full'){
}
});

For instance, if the current subscription allows up to three users in a session, this error will be emitted if the fourth user tried to join the session from invoking either codox.init() or codox.start().

‚Äč