[w3c/payment-handler] Inconsistent DOMException styles (#267)

> with a DOMException whose value "OperationError"

> a DOMException whose value is "InvalidStateError"

> throw an "InvalidStateError" DOMException

> promise with a DOMException whose name is "InvalidStateError"

> return a Promise rejected with a NotAllowedError. 

The correct style these days is `"OperationError" DOMException`.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/payment-handler/issues/267

Received on Friday, 16 March 2018 03:02:00 UTC