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

Write custom errors package with stack trace functionality #5239

Merged
merged 19 commits into from
May 24, 2022

Commits on Apr 23, 2022

  1. feat: a simple stacktrace utility

    Signed-off-by: Bisakh Mondal <[email protected]>
    bisakhmondal committed Apr 23, 2022
    Configuration menu
    Copy the full SHA
    acda158 View commit details
    Browse the repository at this point in the history
  2. feat: custom errors package with new, errorf, wrapping, unwrapping an…

    …d stacktrace
    
    Signed-off-by: Bisakh Mondal <[email protected]>
    bisakhmondal committed Apr 23, 2022
    Configuration menu
    Copy the full SHA
    2efd448 View commit details
    Browse the repository at this point in the history
  3. chore: update existing errors import (small subset)

    Signed-off-by: Bisakh Mondal <[email protected]>
    bisakhmondal committed Apr 23, 2022
    Configuration menu
    Copy the full SHA
    fe02268 View commit details
    Browse the repository at this point in the history
  4. chore: update comments

    Signed-off-by: Bisakh Mondal <[email protected]>
    bisakhmondal committed Apr 23, 2022
    Configuration menu
    Copy the full SHA
    b865155 View commit details
    Browse the repository at this point in the history
  5. add errors into skip-files linter config

    Signed-off-by: Bisakh Mondal <[email protected]>
    bisakhmondal committed Apr 23, 2022
    Configuration menu
    Copy the full SHA
    a86b267 View commit details
    Browse the repository at this point in the history
  6. intoduce UnwrapTillCause to suffice the limitation of Unwrap

    Signed-off-by: Bisakh Mondal <[email protected]>
    bisakhmondal committed Apr 23, 2022
    Configuration menu
    Copy the full SHA
    75c813a View commit details
    Browse the repository at this point in the history
  7. Revert "chore: update existing errors import (small subset)"

    This reverts commit d27f017.
    
    Signed-off-by: Bisakh Mondal <[email protected]>
    bisakhmondal committed Apr 23, 2022
    Configuration menu
    Copy the full SHA
    c3cf039 View commit details
    Browse the repository at this point in the history
  8. revert makefile && golangcilint file

    Signed-off-by: Bisakh Mondal <[email protected]>
    bisakhmondal committed Apr 23, 2022
    Configuration menu
    Copy the full SHA
    1bd7e6f View commit details
    Browse the repository at this point in the history
  9. apply PR feedbacks

    Signed-off-by: Bisakh Mondal <[email protected]>
    bisakhmondal committed Apr 23, 2022
    Configuration menu
    Copy the full SHA
    d859d82 View commit details
    Browse the repository at this point in the history
  10. stacktrace and errors test

    Signed-off-by: Bisakh Mondal <[email protected]>
    bisakhmondal committed Apr 23, 2022
    Configuration menu
    Copy the full SHA
    ab05bf4 View commit details
    Browse the repository at this point in the history
  11. fix typo

    Signed-off-by: Bisakh Mondal <[email protected]>
    bisakhmondal committed Apr 23, 2022
    Configuration menu
    Copy the full SHA
    971fc25 View commit details
    Browse the repository at this point in the history
  12. update stacktrace testing regex

    Signed-off-by: Bisakh Mondal <[email protected]>
    bisakhmondal committed Apr 23, 2022
    Configuration menu
    Copy the full SHA
    f038e2c View commit details
    Browse the repository at this point in the history
  13. add lint ignore for standard errors import inside errors pkg

    Signed-off-by: Bisakh Mondal <[email protected]>
    bisakhmondal committed Apr 23, 2022
    Configuration menu
    Copy the full SHA
    be8006b View commit details
    Browse the repository at this point in the history
  14. [test files] add copyright headers

    Signed-off-by: Bisakh Mondal <[email protected]>
    bisakhmondal committed Apr 23, 2022
    Configuration menu
    Copy the full SHA
    63d961f View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    e6eed48 View commit details
    Browse the repository at this point in the history
  16. update stacktrace output test line number with regex pattern

    Signed-off-by: Bisakh Mondal <[email protected]>
    bisakhmondal committed Apr 23, 2022
    Configuration menu
    Copy the full SHA
    d977de6 View commit details
    Browse the repository at this point in the history
  17. return pc slice with reduced capacity

    Signed-off-by: Bisakh Mondal <[email protected]>
    bisakhmondal committed Apr 23, 2022
    Configuration menu
    Copy the full SHA
    d67cc36 View commit details
    Browse the repository at this point in the history
  18. segregate formatted vs non formatted methods

    Signed-off-by: Bisakh Mondal <[email protected]>
    bisakhmondal committed Apr 23, 2022
    Configuration menu
    Copy the full SHA
    52cb5df View commit details
    Browse the repository at this point in the history
  19. update with only f functions

    Signed-off-by: Bisakh Mondal <[email protected]>
    bisakhmondal committed Apr 23, 2022
    Configuration menu
    Copy the full SHA
    5f0c859 View commit details
    Browse the repository at this point in the history