AuxiliaryLegCancelledError
The application stopped a screen share or removed an additional input device while its leg was still connecting. It is not a failure — the app got what it asked for — but it is typed rather than silently resolved so a caller awaiting the start can tell a cancel apart from a share that actually came up. The public start methods return void, so the rejection is the only signal they have.
Extends
Error
Constructors
Constructor
Parameters
leg
Which auxiliary leg was removed, e.g. 'screenshare'.
Properties
leg
Read-only. Which auxiliary leg was removed.
Examples
See
AuxiliaryLegTimeoutError— the leg never connected in time.startScreenShare.