Skip to content

Detection of possible error values #348

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
andrewrk opened this issue Apr 28, 2017 · 1 comment
Closed

Detection of possible error values #348

andrewrk opened this issue Apr 28, 2017 · 1 comment
Labels
enhancement Solving this issue will likely involve adding new logic or components to the codebase.
Milestone

Comments

@andrewrk
Copy link
Member

  • compile error when switching on an error value and checking for an error that cannot possibly happen
  • Compile error when switching on an error value and not handling all possibilities
  • In generated documentation, list possible error codes from each function
  • Provide way to add docs to possible error values per function
  • solve the case when error value possibilities cannot be determined at compile time
@andrewrk andrewrk added this to the 0.2.0 milestone Apr 28, 2017
@andrewrk andrewrk added the enhancement Solving this issue will likely involve adding new logic or components to the codebase. label Apr 28, 2017
@andrewrk
Copy link
Member Author

duplicate of #632

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Solving this issue will likely involve adding new logic or components to the codebase.
Projects
None yet
Development

No branches or pull requests

1 participant