Description
- When calling
await state.zmClient.join(meetingId, token, userName, passcode);, I would like to know what is returned if the join operation fails. Does this method throw an exception or return a specific error object?
Browser Console Error
No specific error at this point. I just want to confirm the error handling behavior of the join() method.
Which Web Video SDK version?
Video SDK v2.2.5
Video SDK Code Snippets
try {
await state.zmClient.join(meetingId, token, userName, passcode);
console.log('Join success');
} catch (err) {
console.error('Join failed:', err);
}
Device
- Device:
- OS: Window 11
- Browser: Chrome 134.0.x
Additional context
I would like to confirm whether the join() method always throws an error (e.g. for invalid token or ended meeting) or if it simply rejects the promise with a specific error message.
Thank you