Skip to content

Add errors::nil Function #103

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

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
@threeal threeal deleted the add-nil-function branch December 27, 2023 04:52
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 this pull request may close these issues.

Create Empty Error With Function
1 participant