Skip to content

Conversation

@fourls
Copy link
Collaborator

@fourls fourls commented Oct 25, 2024

This PR adds a rule to detect when an exception has been created, but not raised, e.g.

Exception.Create('Error!');

instead of

raise Exception.Create('Error!');

In a separate commit, I've also fixed a typo I noticed in the changelog.

@fourls fourls requested a review from cirras October 25, 2024 04:40
@fourls fourls requested a review from cirras October 25, 2024 05:15
Copy link
Collaborator

@cirras cirras left a comment

Choose a reason for hiding this comment

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

Looks great! 👍

@fourls fourls merged commit e7555ca into master Oct 25, 2024
2 checks passed
@fourls fourls deleted the no-raise-rule branch October 25, 2024 05:21
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.

3 participants