[whatwg/webidl] New error name: OptOutError (Issue #1168)

Hello,

Would it be possible to add an "OptOutError" to the list of DOMException error names? 

[SPC](https://www.w3.org/TR/secure-payment-confirmation/) is experimenting with [opt out support](https://github.com/w3c/secure-payment-confirmation/issues/172) by returning an "AbortError: User has opted out of the process", but many different error conditions can return "AbortError" and checking for the error message is generally considered brittle. Perhaps an "OptOutError" can be used by other APIs that allow users to opt out, as well?

cc @jcemer-stripe @stephenmcgruer

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/webidl/issues/1168
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/webidl/issues/1168@github.com>

Received on Wednesday, 13 July 2022 14:34:59 UTC