8000 alert on `raise Exception` usage · Issue #7299 · rubocop/rubocop · GitHub
[go: up one dir, main page]

Skip to content
alert on raise Exception usage #7299
@grosser

Description

@grosser

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0