Skip to content
New issue

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

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

Already on GitHub? Sign in 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.

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

No branches or pull requests

1 participant