Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add errors::nil Function #103

Merged
merged 2 commits into from
Dec 27, 2023
Merged

Add errors::nil Function #103

merged 2 commits into from
Dec 27, 2023

Conversation

threeal
Copy link
Owner

@threeal threeal commented Dec 26, 2023

This pull request resolves #102 by introducing an errors::nil function for creating an empty error by accessing a static constant reference of an empty error. This change also removes the Error::Error() constructor because it is no longer needed.

@threeal threeal self-assigned this Dec 26, 2023
@threeal threeal added the feat label Dec 26, 2023
@threeal threeal added this to the Version 1.0.0 milestone Dec 26, 2023
@threeal threeal marked this pull request as ready for review December 26, 2023 15:45
@threeal threeal merged commit 05def07 into main Dec 27, 2023
6 checks passed
@threeal threeal deleted the add-nil-function branch December 27, 2023 04:52
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create Empty Error With Function
1 participant