Re: [webpayments] PROPOSAL: The PaymentRequest object will not have code attached to it. It will be a pure data object. (#64)

>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](

Reply to this email directly or view it on GitHub:

Received on Saturday, 23 January 2016 21:17:32 UTC