Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Change exception aggregation API #10

Open
esjewett opened this issue Jan 27, 2015 · 0 comments
Open

Change exception aggregation API #10

esjewett opened this issue Jan 27, 2015 · 0 comments
Assignees

Comments

@esjewett
Copy link
Member

May want to change to be

reductio.exception(value)
exception.sum(value)
exception.count(boolean)

reductio.exception should return the exception object rather than the reductio object. Breaks chaining, but is probably a bit more intuitive?

Old exceptionSum, exceptionCount methods would stick around for now but would be deprecated and would not appear in documentation.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

1 participant