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

Add nodiscard Attribute #106

Closed
threeal opened this issue Dec 27, 2023 · 0 comments · Fixed by #107
Closed

Add nodiscard Attribute #106

threeal opened this issue Dec 27, 2023 · 0 comments · Fixed by #107
Assignees
Labels
Milestone

Comments

@threeal
Copy link
Owner

threeal commented Dec 27, 2023

This issue proposes adding a [[nodiscard]] attribute to the errors::Error struct. This attribute will generate a warning if a function returning an errors::Error is not checked for errors.

@threeal threeal self-assigned this Dec 27, 2023
@threeal threeal added the feat label Dec 27, 2023
@threeal threeal added this to the Version 1.0.0 milestone Dec 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant