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

enhance: Improved assertions and error messages #56

Merged
merged 3 commits into from
Dec 10, 2024

Conversation

boitumeloruf
Copy link
Collaborator

Suggestion to resolve #46

success &= false; \
err.log(logger, __FILE__, __LINE__); \
} \
else \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to simplify this code and remove the else part you could just write:

success &= err;

@boitumeloruf boitumeloruf merged commit a605c3e into devel Dec 10, 2024
3 checks passed
@boitumeloruf boitumeloruf deleted the enhance/46_assertion branch December 10, 2024 06:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants