contracts.ruby icon indicating copy to clipboard operation
contracts.ruby copied to clipboard

Include input parameters in ReturnContractError

Open beezee opened this issue 10 years ago • 2 comments

Because these are runtime, I think it's way more useful to see what input produced an invalid return, considering it doesn't necessarily mean you have this error on all possible inputs.

Is this something folks agree with, or are there concerns about it?

If it would be accepted (barring any code review of course) I would be happy to open a PR

beezee avatar Jan 09 '16 03:01 beezee

Sounds good to me, send over a PR!

egonSchiele avatar Jan 09 '16 06:01 egonSchiele

:+1: Sounds good to me too!

Best Regards, Oleksii Fedorov, Sr Ruby, Clojure, Crystal, Golang Developer, Microservices Backend Engineer, +49 15757 486 476

On Sat, Jan 9, 2016 at 7:06 AM, Aditya Bhargava [email protected] wrote:

Sounds good to me, send over a PR!

— Reply to this email directly or view it on GitHub https://github.com/egonSchiele/contracts.ruby/issues/215#issuecomment-170200693 .

alex-fedorov avatar Jan 09 '16 06:01 alex-fedorov