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

missing WithStack function for defra errors package #869

Closed
fredcarle opened this issue Oct 5, 2022 · 0 comments · Fixed by #870
Closed

missing WithStack function for defra errors package #869

fredcarle opened this issue Oct 5, 2022 · 0 comments · Fixed by #870
Assignees
Labels
area/errors Related to the internal management or design of our error handling system

Comments

@fredcarle
Copy link
Collaborator

No description provided.

@fredcarle fredcarle self-assigned this Oct 5, 2022
@fredcarle fredcarle added the area/errors Related to the internal management or design of our error handling system label Oct 5, 2022
@fredcarle fredcarle added this to the DefraDB v0.4 milestone Oct 5, 2022
fredcarle added a commit that referenced this issue Oct 5, 2022
Relevant issue(s)
Resolves #869

Description
This PR adds a WithStack function to the errors package to be able to add a stacktrace to a returned error without adding a message. It also fixes the TestErrorIs unit test.
shahzadlone pushed a commit to shahzadlone/defradb that referenced this issue Feb 23, 2024
Relevant issue(s)
Resolves sourcenetwork#869

Description
This PR adds a WithStack function to the errors package to be able to add a stacktrace to a returned error without adding a message. It also fixes the TestErrorIs unit test.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/errors Related to the internal management or design of our error handling system
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant