Skip to content

[py] Add CheckException subclass#378

Merged
olivielpeau merged 1 commit intomasterfrom
olivielpeau/add-py-check-exception
Jul 11, 2017
Merged

[py] Add CheckException subclass#378
olivielpeau merged 1 commit intomasterfrom
olivielpeau/add-py-check-exception

Conversation

@olivielpeau
Copy link
Copy Markdown
Member

What does this PR do?

Adds the CheckException class of exceptions for py checks to import
and use.

Motivation

Quite a few integrations-core checks use this class of exceptions
for some of the exceptions they raise. It makes sense to keep it: it
encourages some level of exception granularity in the checks.

Additional Notes

If for some reason someone thinks it's better to get rid of this class, it's
possible to modify the integrations-core checks instead and declare the
class deprecated.

Quite a few `integrations-core` checks use this class of exceptions
for some of the exceptions they raise. It makes sense to keep it, it
encourages some level of exception granularity in the checks.
Copy link
Copy Markdown
Contributor

@masci masci left a comment

Choose a reason for hiding this comment

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

I agree this belongs here 👍

@olivielpeau olivielpeau merged commit e0b5c4f into master Jul 11, 2017
@olivielpeau olivielpeau deleted the olivielpeau/add-py-check-exception branch July 11, 2017 14:34
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