Skip to content

Do not nest switch to avoid missing case ...: #166

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

Closed
wants to merge 1 commit into from

Conversation

zauguin
Copy link
Collaborator

@zauguin zauguin commented May 20, 2018

This is an implementation of the idea of @aminroosta to fix #155:
Instead of the current nested construction for error handling, it just uses two switch statements: One for the extended error codes, one for the normal ones.
This is an alternative to #165, so merging this would close #165.

@zauguin
Copy link
Collaborator Author

zauguin commented May 28, 2018

Fixed by #165.

@zauguin zauguin closed this May 28, 2018
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

Successfully merging this pull request may close these issues.

1 participant