Re: [mediacapture-screen-share] Distinguish cancellations from absent OS permissions (#281)

> Having the first parameter as optional and the second one as non-optional is quite odd to my C++ sensibilities

I am curious how it would work when calling `new GetDisplayMediaNotAllowedError()`. Which `reason` do you get?
I would tend to try making the second parameter optional if we can.

-- 
GitHub Notification of comment by youennf
Please view or discuss this issue at https://github.com/w3c/mediacapture-screen-share/issues/281#issuecomment-1740787605 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 29 September 2023 12:09:29 UTC