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

Better exceptions #18

Merged
merged 4 commits into from
Aug 23, 2024
Merged

Better exceptions #18

merged 4 commits into from
Aug 23, 2024

Conversation

jekuaitk
Copy link
Contributor

@jekuaitk jekuaitk commented Aug 23, 2024

  • Better exceptions names and messages

CHANGELOG is not updated due to no initial release having been made yet.

@jekuaitk jekuaitk requested a review from rimi-itk August 23, 2024 13:00
if (empty($nodes)) {
throw new NoTextFoundException('No text node found.');
}

$count = count($nodes);
Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

Please update CHANGELOG.md. “no initial release having been made yet” is not a valid excuse for not doing so, and other have done it (cf. https://github.com/itk-dev/giv-din-stemme/blame/develop/CHANGELOG.md).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated.

@jekuaitk jekuaitk requested a review from rimi-itk August 23, 2024 14:07
@jekuaitk jekuaitk merged commit 8900d5f into develop Aug 23, 2024
8 checks passed
@jekuaitk jekuaitk deleted the feature/better-exceptions branch August 23, 2024 14:20
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