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

> That's what the message is for. If we are explaining the error to the developer then we have as many words as we want to do that. 

Ideally want to avoid that, as the message allows for further UA identification (why I asked in the OP "without relying on error messages"). 

> That's where having well-considered use of the DOMException types is important.

Exactly. 

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


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

Received on Tuesday, 4 October 2022 05:28:43 UTC