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

hasError interface #7

Closed
bsr203 opened this issue Oct 15, 2015 · 1 comment
Closed

hasError interface #7

bsr203 opened this issue Oct 15, 2015 · 1 comment

Comments

@bsr203
Copy link

bsr203 commented Oct 15, 2015

Hi Roger,

Is there a way to to check whether the error hierarchy contains a specific error. Say, I wrapped the error few times and need to check whether I had a authorization error somewhere (not necessarily the top of the chain). How would you handle this other than iterating using Underlying

thanks,
bsr.

@bsr203
Copy link
Author

bsr203 commented Oct 15, 2015

when I think about it, may be we may never wrap the cause error and just type cast on it? Will close after your comment. thanks.

@bsr203 bsr203 closed this as completed Nov 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant