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

Statically typed error handling PoC #1752

Draft
wants to merge 25 commits into
base: rust-only-ssh
Choose a base branch
from

Commits on Nov 7, 2024

  1. Configuration menu
    Copy the full SHA
    5a8edb3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e78273a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1c5e432 View commit details
    Browse the repository at this point in the history
  4. Improve check_err_matches! ergonomics.

    More specifically, allow autoconversion into the type of the match pattern, so that one does not need to specify the fully qualified error variant every time.
    Tehforsch committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    cfe72fa View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2e71730 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    18c1628 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    e33c0a7 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    9c4f10c View commit details
    Browse the repository at this point in the history
  9. Remove IOError from NaslError

    Move all use cases into custom errors from those builtin modules.
    Tehforsch committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    c7d9c4b View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    d97fdab View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    07f6330 View commit details
    Browse the repository at this point in the history
  12. Remove GeneralErrorType

    Tehforsch committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    75b9e94 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    b83bd0e View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    30094ec View commit details
    Browse the repository at this point in the history
  15. Remove Eq derive on errors

    Tehforsch committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    b35e814 View commit details
    Browse the repository at this point in the history
  16. Remove PartialEq on Error

    Tehforsch committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    051db68 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    44a5633 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    87bf03b View commit details
    Browse the repository at this point in the history
  19. Remove diagnostic variant

    Tehforsch committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    599cd4c View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    e200214 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    fea6024 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    3dc1cee View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    2ac8803 View commit details
    Browse the repository at this point in the history
  24. Move FEK (temp)

    Tehforsch committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    c85da81 View commit details
    Browse the repository at this point in the history
  25. Rename FunctionErrorKind -> FnError.

    Also rename FunctionError within interpreter to FunctionCallError.
    Tehforsch committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    df373f9 View commit details
    Browse the repository at this point in the history