Re: [screen-wake-lock] Distinguish exceptions on .request() (#352)

This seems reasonable. Are there other examples where `InvalidStateError` is used for these kinds of failures?

-- 
GitHub Notification of comment by reillyeon
Please view or discuss this issue at https://github.com/w3c/screen-wake-lock/issues/352#issuecomment-1261507784 using your GitHub account


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

Received on Wednesday, 28 September 2022 21:59:42 UTC