- From: Adrian Hope-Bailie <notifications@github.com>
- Date: Sat, 23 Jan 2016 13:16:58 -0800
- To: w3c/webpayments <webpayments@noreply.github.com>
Received on Saturday, 23 January 2016 21:17:32 UTC
>So a developer could, if they wanted, check the state before calling cancel, but if they don't, the system will just throw an exception. This feels like we are developing an API that will encourage developers to use exceptions for flow control. i.e. A violation of the [Principal of Least Astonishment](http://c2.com/cgi/wiki?PrincipleOfLeastAstonishment) --- Reply to this email directly or view it on GitHub: https://github.com/w3c/webpayments/issues/64#issuecomment-174223193
Received on Saturday, 23 January 2016 21:17:32 UTC