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

alert on raise Exception usage #7299

Closed
grosser opened this issue Aug 20, 2019 · 2 comments · Fixed by #7325
Closed

alert on raise Exception usage #7299

grosser opened this issue Aug 20, 2019 · 2 comments · Fixed by #7325

Comments

@grosser
Copy link
Contributor

@grosser grosser commented Aug 20, 2019

similar to the "do not rescue Exception" cop it would make sense to not allow raising Exception since that will bypass test frameworks and error reporters

@bbatsov
Copy link
Collaborator

@bbatsov bbatsov commented Aug 21, 2019

Great idea!

@Drenmi
Copy link
Collaborator

@Drenmi Drenmi commented Aug 25, 2019

It's funny we didn't think of this. 😂

denys281 added a commit to denys281/rubocop that referenced this issue Sep 1, 2019
denys281 added a commit to denys281/rubocop that referenced this issue Sep 1, 2019
denys281 added a commit to denys281/rubocop that referenced this issue Sep 1, 2019
denys281 added a commit to denys281/rubocop that referenced this issue Sep 1, 2019
denys281 added a commit to denys281/rubocop that referenced this issue Sep 5, 2019
denys281 added a commit to denys281/rubocop that referenced this issue Sep 18, 2019
denys281 added a commit to denys281/rubocop that referenced this issue Sep 18, 2019
denys281 added a commit to denys281/rubocop that referenced this issue Oct 28, 2019
denys281 added a commit to denys281/rubocop that referenced this issue Oct 28, 2019
bbatsov added a commit that referenced this issue Mar 21, 2020
Co-authored-by: Bozhidar Batsov <bozhidar@batsov.com>
ty-porter added a commit to ty-porter/rubocop that referenced this issue Mar 21, 2020
Co-authored-by: Bozhidar Batsov <bozhidar@batsov.com>
Neodelf added a commit to Neodelf/rubocop that referenced this issue Apr 28, 2020
Co-authored-by: Bozhidar Batsov <bozhidar@batsov.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

4 participants