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

Catch with an options class as an argument #9

Open
gravity00 opened this issue Aug 31, 2016 · 0 comments
Open

Catch with an options class as an argument #9

gravity00 opened this issue Aug 31, 2016 · 0 comments
Assignees
Milestone

Comments

@gravity00
Copy link
Owner

The catch method could also receive an options class as an argument. Example:

var result = 
    Handling.Prepare()
        .Catch(context.Exception, null, new CatchOptions
        {
            ThrowIfNotHandled = false
        });
@gravity00 gravity00 added this to the Version 1.2.0 milestone Aug 31, 2016
@gravity00 gravity00 self-assigned this Aug 31, 2016
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