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

assert: move assertion part in extra file #20486

Closed
wants to merge 3 commits into from

Commits on May 7, 2018

  1. doc: update assert documentation

    This adds concrete expected types to the assert documentation.
    
    It also fixes a `changes` entry and improves some minor comments.
    BridgeAR committed May 7, 2018
    Configuration menu
    Copy the full SHA
    5b0038a View commit details
    Browse the repository at this point in the history
  2. assert: move AssertionError into own file

    This moves the `assert` parts from `internal/errors` into an own
    file. `internal/errors` got bigger and bigger and it was difficult
    to keep a good overview of what was going on. While doing so it
    also removes the `internalAssert` function and just lazy loads
    `assert`.
    BridgeAR committed May 7, 2018
    Configuration menu
    Copy the full SHA
    9fce095 View commit details
    Browse the repository at this point in the history
  3. errors: move functions to error code

    This makes sure the functions are actually directly beneat the
    specification of an error code.
    That way it is not necessary to jump around when looking at the
    functionality.
    BridgeAR committed May 7, 2018
    Configuration menu
    Copy the full SHA
    4c9c77d View commit details
    Browse the repository at this point in the history